999416 ÷ 45 
The aim is to understand the frequency of 45 in 999416.

On to step 1:
When dividing 9 by 45, we get 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Grab the next digit (9) from the dividend, add it to 9, then carry on: 99 / 45

Going ahead to step 2:
45 goes into 99 2 times with a remainder of 9.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 90 from 99, we get 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 45

Going ahead to step 3:
If we divide 99 by 45, we get 2 and a remainder of 9.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
Deduct 90 from 99 and we're left with 9.
Append the next digit (4) from the dividend to 9 and continue with: 94 / 45

On to step 4:
94 divided by 45 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 222.0
Deduct 90 from 94 and we're left with 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 45

Advancing to step 5:
If we divide 41 by 45, we get 0 and a remainder of 41.
The number 0 becomes the next digit in our result. 
Result so far: 2220.0
If we subtract 0 from 41, we get 41.
Fetch the next digit (6) from the dividend, attach it to 41 and continue: 416 / 45

On to step 6:
When dividing 416 by 45, we get 9 with a remainder of 11.
The next digit of our result is 9. 
Result so far: 22209.0
Subtracting 405 from 416 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
110 divided by 45 is 2 with a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 22209.2
Subtracting 90 from 110 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 45, we get 4 with a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 22209.24
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
When dividing 200 by 45, we get 4 with a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 22209.244
Subtract 180 from 200 to 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.

The final result is 22209.244 with a remainder of 0.002.