We're dividing 866964 by 45 
The aim is to understand the frequency of 45 in 866964.

On to step 1:
If we divide 8 by 45, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 45

Advancing to step 2:
45 can be fit into 86 1 times, resulting in a remainder of 41.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 45 from 86 leaves us with 41.
Grab the next digit (6) from the dividend, add it to 41, then carry on: 416 / 45

Step 3:
If we divide 416 by 45, we get 9 and a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 19.0
Subtracting 405 from 416 leaves us with 11.
Take the next digit (9) from the dividend and append it to 11, then repeat: 119 / 45

Moving on to step 4:
119 divided by 45 is 2 with a remainder of 29.
The number 2 becomes the next digit in our result. 
Result so far: 192.0
Subtract 90 from 119 to get 29.
Fetch the next digit (6) from the dividend, attach it to 29 and continue: 296 / 45

Step 5:
45 goes into 296 6 times with a remainder of 26.
The number 6 becomes the next digit in our result. 
Result so far: 1926.0
If we subtract 270 from 296, we get 26.
Bring next digit (4) of the dividend behind the 26 and repeat the process: 264 / 45

Going ahead to step 6:
If we divide 264 by 45, we get 5 and a remainder of 39.
Record the quotient 5 as the next digit in the result. 
Result so far: 19265.0
Subtract 225 from 264 to get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Let's proceed to step 7:
If we divide 390 by 45, we get 8 and a remainder of 30.
Record the quotient 8 as the next digit in the result. 
Result so far: 19265.8
Subtracting 360 from 390 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
When dividing 300 by 45, we get 6 with a remainder of 30.
Put 6 as the next digit of the answer. 
Result so far: 19265.86
If we subtract 270 from 300, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 9:
45 goes into 300 6 times with a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 19265.866
Subtract 270 from 300 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final outcome is 19265.866, with a leftover of 0.003.