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

Advancing to step 1:
The number 45 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 45

Going ahead to step 2:
50 divided by 45 is 1 with a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 45 away from 50, we end up with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 45

On to step 3:
45 goes into 54 1 times with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
Subtract 45 from 54 to get 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 45

Advancing to step 4:
45 goes into 98 2 times with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 112.0
If we subtract 90 from 98, we get 8.
Append the next digit (1) from the dividend to 8 and continue with: 81 / 45

Moving on to step 5:
When dividing 81 by 45, we get 1 with a remainder of 36.
Record the quotient 1 as the next digit in the result. 
Result so far: 1121.0
Subtracting 45 from 81 leaves us with 36.
Take the next digit (3) from the dividend and append it to 36, then repeat: 363 / 45

Moving on to step 6:
If we divide 363 by 45, we get 8 and a remainder of 3.
Use 8 as the next digit of our solution. 
Result so far: 11218.0
Subtract 360 from 363 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
When dividing 30 by 45, we get 0 with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 11218.0
If we subtract 0 from 30, 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.

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

On to step 9:
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: 11218.066
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 result is 11218.066 with a remainder of 0.003.