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

Going ahead to step 1:
If we divide 8 by 45, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 45

Advancing to step 2:
When dividing 84 by 45, we get 1 with a remainder of 39.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 39 after subtracting 45 from 84.
Include the next digit (0) from the dividend after 39, then repeat: 390 / 45

Let's proceed to step 3:
If we divide 390 by 45, we get 8 and a remainder of 30.
Use 8 as the next digit of our solution. 
Result so far: 18.0
The remainder is 30 after subtracting 360 from 390.
Include the next digit (6) from the dividend after 30, then repeat: 306 / 45

Step 4:
When dividing 306 by 45, we get 6 with a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 186.0
If we subtract 270 from 306, we get 36.
Bring next digit (8) of the dividend behind the 36 and repeat the process: 368 / 45

Moving on to step 5:
45 goes into 368 8 times with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 1868.0
If we subtract 360 from 368, we get 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 45

Going ahead to step 6:
45 goes into 87 1 times with a remainder of 42.
The number 1 becomes the next digit in our result. 
Result so far: 18681.0
If we take 45 away from 87, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 7:
45 goes into 420 9 times with a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 18681.9
Deduct 405 from 420 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
45 can be fit into 150 3 times, resulting in a remainder of 15.
Use 3 as the next digit of our solution. 
Result so far: 18681.93
Deduct 135 from 150 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 9:
The number 45 fits into 150 3 times, leaving a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 18681.933
If we take 135 away from 150, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

In conclusion, the division gives 18681.933 with a balance of 0.0015.