Let's divide 222815 by 40
The aim is to understand the frequency of 40 in 222815.

Let's proceed to step 1:
If we divide 2 by 40, we get 0 and a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 40

Let's proceed to step 2:
When dividing 22 by 40, we get 0 with a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 22 leaves us with 22.
Take the next digit (2) from the dividend and append it to 22, then repeat: 222 / 40

Moving on to step 3:
40 goes into 222 5 times with a remainder of 22.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 200 from 222 leaves us with 22.
Grab the next digit (8) from the dividend, add it to 22, then carry on: 228 / 40

Advancing to step 4:
40 goes into 228 5 times with a remainder of 28.
The number 5 becomes the next digit in our result. 
Result so far: 55.0
If we take 200 away from 228, we end up with 28.
Grab the next digit (1) from the dividend, add it to 28, then carry on: 281 / 40

On to step 5:
If we divide 281 by 40, we get 7 and a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 557.0
Deduct 280 from 281 and we're left with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 40

Going ahead to step 6:
15 divided by 40 is 0 with a remainder of 15.
The next digit of our result is 0. 
Result so far: 5570.0
Subtracting 0 from 15 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
The number 40 fits into 150 3 times, leaving a remainder of 30.
Put 3 as the next digit of the answer. 
Result so far: 5570.3
If we take 120 away from 150, 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.

Let's proceed to step 8:
40 goes into 300 7 times with a remainder of 20.
The next digit of our result is 7. 
Result so far: 5570.37
Subtracting 280 from 300 leaves us with 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 9:
200 divided by 40 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 5570.375
Deduct 200 from 200 and we're left 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 10:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 5570.375
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.

On to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 5570.375
Deduct 0 from 0 and we're left 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 final result is 5570.375 with a remainder of 0.0.