655854 divided by 40 
The aim is to understand the frequency of 40 in 655854.

On to step 1:
40 can be fit into 6 0 times, resulting in a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Bring next digit (5) of the dividend behind the 6 and repeat the process: 65 / 40

Moving on to step 2:
If we divide 65 by 40, we get 1 and a remainder of 25.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 25 after subtracting 40 from 65.
Fetch the next digit (5) from the dividend, attach it to 25 and continue: 255 / 40

Going ahead to step 3:
255 divided by 40 is 6 with a remainder of 15.
Use 6 as the next digit of our solution. 
Result so far: 16.0
The remainder is 15 after subtracting 240 from 255.
Fetch the next digit (8) from the dividend, attach it to 15 and continue: 158 / 40

Moving on to step 4:
The number 40 fits into 158 3 times, leaving a remainder of 38.
Use 3 as the next digit of our solution. 
Result so far: 163.0
Subtract 120 from 158 to get 38.
Bring next digit (5) of the dividend behind the 38 and repeat the process: 385 / 40

Going ahead to step 5:
When dividing 385 by 40, we get 9 with a remainder of 25.
The number 9 becomes the next digit in our result. 
Result so far: 1639.0
Deduct 360 from 385 and we're left with 25.
Take the next digit (4) from the dividend and append it to 25, then repeat: 254 / 40

Going ahead to step 6:
40 can be fit into 254 6 times, resulting in a remainder of 14.
The next digit of our result is 6. 
Result so far: 16396.0
Deduct 240 from 254 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 7:
40 goes into 140 3 times with a remainder of 20.
Put 3 as the next digit of the answer. 
Result so far: 16396.3
The remainder is 20 after subtracting 120 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 16396.35
The remainder is 0 after subtracting 200 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 16396.35
If we subtract 0 from 0, we 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.

Step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 16396.35
Subtracting 0 from 0 leaves us 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.

The quotient of the division is 16396.35, and the remainder is 0.0.