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

On to step 1:
When dividing 3 by 45, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 45

Step 2:
If we divide 39 by 45, we get 0 and a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Append the next digit (5) from the dividend to 39 and continue with: 395 / 45

Step 3:
45 goes into 395 8 times with a remainder of 35.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtract 360 from 395 to get 35.
Fetch the next digit (0) from the dividend, attach it to 35 and continue: 350 / 45

Let's proceed to step 4:
350 divided by 45 is 7 with a remainder of 35.
Write down 7 as next digit of the result. 
Result so far: 87.0
Deduct 315 from 350 and we're left with 35.
Bring next digit (5) of the dividend behind the 35 and repeat the process: 355 / 45

Advancing to step 5:
45 goes into 355 7 times with a remainder of 40.
Record the quotient 7 as the next digit in the result. 
Result so far: 877.0
Subtract 315 from 355 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 6:
When dividing 400 by 45, we get 8 with a remainder of 40.
Record the quotient 8 as the next digit in the result. 
Result so far: 877.8
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.

Advancing to step 7:
45 goes into 400 8 times with a remainder of 40.
Put 8 as the next digit of the answer. 
Result so far: 877.88
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 quotient of the division is 877.88, and the remainder is 0.04.