We're dividing 418288 by 45 
The aim is to understand the frequency of 45 in 418288.

Moving on to step 1:
If we divide 4 by 45, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 45

Moving on to step 2:
When dividing 41 by 45, we get 0 with a remainder of 41.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 41 to get 41.
Include the next digit (8) from the dividend after 41, then repeat: 418 / 45

Step 3:
45 can be fit into 418 9 times, resulting in a remainder of 13.
Use 9 as the next digit of our solution. 
Result so far: 9.0
Subtract 405 from 418 to get 13.
Bring next digit (2) of the dividend behind the 13 and repeat the process: 132 / 45

Step 4:
45 goes into 132 2 times with a remainder of 42.
Put 2 as the next digit of the answer. 
Result so far: 92.0
Subtracting 90 from 132 leaves us with 42.
Include the next digit (8) from the dividend after 42, then repeat: 428 / 45

Step 5:
If we divide 428 by 45, we get 9 and a remainder of 23.
The next digit of our result is 9. 
Result so far: 929.0
The remainder is 23 after subtracting 405 from 428.
Grab the next digit (8) from the dividend, add it to 23, then carry on: 238 / 45

Moving on to step 6:
The number 45 fits into 238 5 times, leaving a remainder of 13.
Record the quotient 5 as the next digit in the result. 
Result so far: 9295.0
Subtracting 225 from 238 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
The number 45 fits into 130 2 times, leaving a remainder of 40.
The number 2 becomes the next digit in our result. 
Result so far: 9295.2
If we subtract 90 from 130, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 8:
The number 45 fits into 400 8 times, leaving a remainder of 40.
Put 8 as the next digit of the answer. 
Result so far: 9295.28
Deduct 360 from 400 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 9:
If we divide 400 by 45, we get 8 and a remainder of 40.
Record the quotient 8 as the next digit in the result. 
Result so far: 9295.288
Subtracting 360 from 400 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

After the division, we end up with 9295.288 and a remainder of 0.004.