We look at the division of 809941 by 45 
The aim is to understand the frequency of 45 in 809941.

Advancing to step 1:
When dividing 8 by 45, we get 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 45

Moving on to step 2:
80 divided by 45 is 1 with a remainder of 35.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 45 from 80 and we're left with 35.
Append the next digit (9) from the dividend to 35 and continue with: 359 / 45

Step 3:
When dividing 359 by 45, we get 7 with a remainder of 44.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Subtract 315 from 359 to get 44.
Fetch the next digit (9) from the dividend, attach it to 44 and continue: 449 / 45

Going ahead to step 4:
45 goes into 449 9 times with a remainder of 44.
The next digit of our result is 9. 
Result so far: 179.0
Subtract 405 from 449 to get 44.
Append the next digit (4) from the dividend to 44 and continue with: 444 / 45

Moving on to step 5:
45 goes into 444 9 times with a remainder of 39.
Record the quotient 9 as the next digit in the result. 
Result so far: 1799.0
Subtract 405 from 444 to get 39.
Bring next digit (1) of the dividend behind the 39 and repeat the process: 391 / 45

Going ahead to step 6:
The number 45 fits into 391 8 times, leaving a remainder of 31.
Use 8 as the next digit of our solution. 
Result so far: 17998.0
The remainder is 31 after subtracting 360 from 391.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 7:
If we divide 310 by 45, we get 6 and a remainder of 40.
The next digit of our result is 6. 
Result so far: 17998.6
The remainder is 40 after subtracting 270 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 8:
If we divide 400 by 45, we get 8 and a remainder of 40.
The next digit of our result is 8. 
Result so far: 17998.68
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.

Moving on to step 9:
The number 45 fits into 400 8 times, leaving a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 17998.688
The remainder is 40 after subtracting 360 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Our division results in 17998.688 with a remaining 0.004.