We divide 695564 by 40
The aim is to understand the frequency of 40 in 695564.

Advancing to step 1:
40 goes into 6 0 times with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Take the next digit (9) from the dividend and append it to 6, then repeat: 69 / 40

On to step 2:
The number 40 fits into 69 1 times, leaving a remainder of 29.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 29 after subtracting 40 from 69.
Include the next digit (5) from the dividend after 29, then repeat: 295 / 40

Moving on to step 3:
If we divide 295 by 40, we get 7 and a remainder of 15.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Deduct 280 from 295 and we're left with 15.
Bring next digit (5) of the dividend behind the 15 and repeat the process: 155 / 40

On to step 4:
The number 40 fits into 155 3 times, leaving a remainder of 35.
The number 3 becomes the next digit in our result. 
Result so far: 173.0
Subtracting 120 from 155 leaves us with 35.
Grab the next digit (6) from the dividend, add it to 35, then carry on: 356 / 40

Step 5:
The number 40 fits into 356 8 times, leaving a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 1738.0
Subtract 320 from 356 to get 36.
Take the next digit (4) from the dividend and append it to 36, then repeat: 364 / 40

On to step 6:
364 divided by 40 is 9 with a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 17389.0
Subtract 360 from 364 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 7:
If we divide 40 by 40, we get 1 and a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 17389.1
Subtract 40 from 40 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 17389.1
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 17389.1
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 17389.1 with a remainder of 0.0.