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

Going ahead to step 1:
45 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 45

Moving on to step 2:
The number 45 fits into 84 1 times, leaving a remainder of 39.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 45 from 84 and we're left with 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 45

Moving on to step 3:
If we divide 399 by 45, we get 8 and a remainder of 39.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
The remainder is 39 after subtracting 360 from 399.
Include the next digit (7) from the dividend after 39, then repeat: 397 / 45

Moving on to step 4:
45 can be fit into 397 8 times, resulting in a remainder of 37.
Use 8 as the next digit of our solution. 
Result so far: 188.0
Subtracting 360 from 397 leaves us with 37.
Append the next digit (1) from the dividend to 37 and continue with: 371 / 45

Advancing to step 5:
If we divide 371 by 45, we get 8 and a remainder of 11.
Use 8 as the next digit of our solution. 
Result so far: 1888.0
Deduct 360 from 371 and we're left with 11.
Take the next digit (7) from the dividend and append it to 11, then repeat: 117 / 45

On to step 6:
117 divided by 45 is 2 with a remainder of 27.
Put 2 as the next digit of the answer. 
Result so far: 18882.0
Subtracting 90 from 117 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 7:
When dividing 270 by 45, we get 6 with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 18882.6
If we take 270 away from 270, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
0 divided by 45 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 18882.6
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
When dividing 0 by 45, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 18882.6
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 18882.6 with a remaining 0.0.