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

On to step 1:
The number 40 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 40

On to step 2:
22 divided by 40 is 0 with a remainder of 22.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 22 and we're left with 22.
Include the next digit (8) from the dividend after 22, then repeat: 228 / 40

Moving on to step 3:
If we divide 228 by 40, we get 5 and a remainder of 28.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we subtract 200 from 228, we get 28.
Take the next digit (5) from the dividend and append it to 28, then repeat: 285 / 40

Let's proceed to step 4:
40 can be fit into 285 7 times, resulting in a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 57.0
If we take 280 away from 285, we end up with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 40

Let's proceed to step 5:
40 goes into 51 1 times with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 571.0
Subtract 40 from 51 to get 11.
Include the next digit (0) from the dividend after 11, then repeat: 110 / 40

Moving on to step 6:
110 divided by 40 is 2 with a remainder of 30.
The number 2 becomes the next digit in our result. 
Result so far: 5712.0
If we take 80 away from 110, 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.

Moving on to step 7:
When dividing 300 by 40, we get 7 with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 5712.7
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 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 5712.75
If we subtract 200 from 200, 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.

Let's proceed to step 9:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 5712.75
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.

Let's proceed to step 10:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 5712.75
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.

In conclusion, the division gives 5712.75 with a balance of 0.0.