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

Let's proceed to step 1:
45 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 45

Step 2:
45 can be fit into 39 0 times, resulting in a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Grab the next digit (3) from the dividend, add it to 39, then carry on: 393 / 45

Moving on to step 3:
The number 45 fits into 393 8 times, leaving a remainder of 33.
Write down 8 as next digit of the result. 
Result so far: 8.0
The remainder is 33 after subtracting 360 from 393.
Include the next digit (7) from the dividend after 33, then repeat: 337 / 45

Step 4:
337 divided by 45 is 7 with a remainder of 22.
Use 7 as the next digit of our solution. 
Result so far: 87.0
Subtracting 315 from 337 leaves us with 22.
Include the next digit (8) from the dividend after 22, then repeat: 228 / 45

Let's proceed to step 5:
The number 45 fits into 228 5 times, leaving a remainder of 3.
The next digit of our result is 5. 
Result so far: 875.0
The remainder is 3 after subtracting 225 from 228.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 45

Let's proceed to step 6:
The number 45 fits into 31 0 times, leaving a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 8750.0
The remainder is 31 after subtracting 0 from 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 7:
If we divide 310 by 45, we get 6 and a remainder of 40.
The next digit of our result is 6. 
Result so far: 8750.6
Deduct 270 from 310 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 8:
400 divided by 45 is 8 with a remainder of 40.
The number 8 becomes the next digit in our result. 
Result so far: 8750.68
The remainder is 40 after subtracting 360 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 9:
If we divide 400 by 45, we get 8 and a remainder of 40.
The number 8 becomes the next digit in our result. 
Result so far: 8750.688
Subtracting 360 from 400 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The final outcome is 8750.688, with a leftover of 0.004.