We divide 989561 by 45
The aim is to understand the frequency of 45 in 989561.

Going ahead to step 1:
If we divide 9 by 45, we get 0 and a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 45

Going ahead to step 2:
The number 45 fits into 98 2 times, leaving a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 90 from 98 and we're left with 8.
Fetch the next digit (9) from the dividend, attach it to 8 and continue: 89 / 45

Step 3:
If we divide 89 by 45, we get 1 and a remainder of 44.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
Subtract 45 from 89 to get 44.
Fetch the next digit (5) from the dividend, attach it to 44 and continue: 445 / 45

Step 4:
When dividing 445 by 45, we get 9 with a remainder of 40.
Put 9 as the next digit of the answer. 
Result so far: 219.0
Deduct 405 from 445 and we're left with 40.
Grab the next digit (6) from the dividend, add it to 40, then carry on: 406 / 45

On to step 5:
45 can be fit into 406 9 times, resulting in a remainder of 1.
The next digit of our result is 9. 
Result so far: 2199.0
If we take 405 away from 406, we end up with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 45

Advancing to step 6:
45 can be fit into 11 0 times, resulting in a remainder of 11.
Use 0 as the next digit of our solution. 
Result so far: 21990.0
If we take 0 away from 11, we end up 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.

On to step 7:
45 goes into 110 2 times with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 21990.2
The remainder is 20 after subtracting 90 from 110.
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 8:
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: 21990.24
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.

Moving on to step 9:
45 can be fit into 200 4 times, resulting in a remainder of 20.
Record the quotient 4 as the next digit in the result. 
Result so far: 21990.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 21990.244 with a remainder of 0.002.