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

Step 1:
8 divided by 40 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Fetch the next digit (8) from the dividend, attach it to 8 and continue: 88 / 40

Advancing to step 2:
When dividing 88 by 40, we get 2 with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 80 from 88 leaves us with 8.
Take the next digit (8) from the dividend and append it to 8, then repeat: 88 / 40

On to step 3:
The number 40 fits into 88 2 times, leaving a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 22.0
If we subtract 80 from 88, we get 8.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 40

Going ahead to step 4:
If we divide 86 by 40, we get 2 and a remainder of 6.
The next digit of our result is 2. 
Result so far: 222.0
Subtracting 80 from 86 leaves us with 6.
Include the next digit (3) from the dividend after 6, then repeat: 63 / 40

On to step 5:
The number 40 fits into 63 1 times, leaving a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 2221.0
The remainder is 23 after subtracting 40 from 63.
Append the next digit (0) from the dividend to 23 and continue with: 230 / 40

Going ahead to step 6:
40 can be fit into 230 5 times, resulting in a remainder of 30.
The next digit of our result is 5. 
Result so far: 22215.0
If we take 200 away from 230, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 7:
300 divided by 40 is 7 with a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 22215.7
If we subtract 280 from 300, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
40 goes into 200 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 22215.75
Subtract 200 from 200 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.

Moving on to step 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 22215.75
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 22215.75
The remainder is 0 after subtracting 0 from 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 outcome is 22215.75, with a leftover of 0.0.