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

Moving 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
Subtract 0 from 9 to get 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 45

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

Going ahead to step 3:
The number 45 fits into 87 1 times, leaving a remainder of 42.
Put 1 as the next digit of the answer. 
Result so far: 21.0
Subtracting 45 from 87 leaves us with 42.
Fetch the next digit (4) from the dividend, attach it to 42 and continue: 424 / 45

Going ahead to step 4:
45 goes into 424 9 times with a remainder of 19.
Put 9 as the next digit of the answer. 
Result so far: 219.0
If we take 405 away from 424, we end up with 19.
Include the next digit (9) from the dividend after 19, then repeat: 199 / 45

Advancing to step 5:
199 divided by 45 is 4 with a remainder of 19.
Record the quotient 4 as the next digit in the result. 
Result so far: 2194.0
Subtracting 180 from 199 leaves us with 19.
Append the next digit (1) from the dividend to 19 and continue with: 191 / 45

Let's proceed to step 6:
45 can be fit into 191 4 times, resulting in a remainder of 11.
Write down 4 as next digit of the result. 
Result so far: 21944.0
Subtracting 180 from 191 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.

Let's proceed to step 7:
45 can be fit into 110 2 times, resulting in a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 21944.2
If we subtract 90 from 110, we 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 8:
When dividing 200 by 45, we get 4 with a remainder of 20.
Use 4 as the next digit of our solution. 
Result so far: 21944.24
If we subtract 180 from 200, we 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.

Step 9:
If we divide 200 by 45, we get 4 and a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 21944.244
Subtracting 180 from 200 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.

In conclusion, the division gives 21944.244 with a balance of 0.002.