Let's divide 508272 by 45
The aim is to understand the frequency of 45 in 508272.

Let's proceed to step 1:
If we divide 5 by 45, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 45

On to step 2:
If we divide 50 by 45, we get 1 and a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 45 from 50 to get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 45

Advancing to step 3:
45 can be fit into 58 1 times, resulting in a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 11.0
Subtract 45 from 58 to get 13.
Bring next digit (2) of the dividend behind the 13 and repeat the process: 132 / 45

On to step 4:
132 divided by 45 is 2 with a remainder of 42.
The next digit of our result is 2. 
Result so far: 112.0
Subtracting 90 from 132 leaves us with 42.
Fetch the next digit (7) from the dividend, attach it to 42 and continue: 427 / 45

Let's proceed to step 5:
If we divide 427 by 45, we get 9 and a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 1129.0
The remainder is 22 after subtracting 405 from 427.
Append the next digit (2) from the dividend to 22 and continue with: 222 / 45

Advancing to step 6:
222 divided by 45 is 4 with a remainder of 42.
Record the quotient 4 as the next digit in the result. 
Result so far: 11294.0
Deduct 180 from 222 and we're left 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.

Let's proceed to step 7:
The number 45 fits into 420 9 times, leaving a remainder of 15.
Put 9 as the next digit of the answer. 
Result so far: 11294.9
If we subtract 405 from 420, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 8:
45 can be fit into 150 3 times, resulting in a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 11294.93
The remainder is 15 after subtracting 135 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 9:
When dividing 150 by 45, we get 3 with a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 11294.933
If we subtract 135 from 150, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The final result is 11294.933 with a remainder of 0.0015.