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

Let's proceed to step 1:
45 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 45

Step 2:
45 can be fit into 51 1 times, resulting in a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 45 away from 51, we end up with 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 45

Step 3:
When dividing 62 by 45, we get 1 with a remainder of 17.
Use 1 as the next digit of our solution. 
Result so far: 11.0
Deduct 45 from 62 and we're left with 17.
Fetch the next digit (0) from the dividend, attach it to 17 and continue: 170 / 45

Step 4:
170 divided by 45 is 3 with a remainder of 35.
The number 3 becomes the next digit in our result. 
Result so far: 113.0
The remainder is 35 after subtracting 135 from 170.
Fetch the next digit (4) from the dividend, attach it to 35 and continue: 354 / 45

Advancing to step 5:
The number 45 fits into 354 7 times, leaving a remainder of 39.
Use 7 as the next digit of our solution. 
Result so far: 1137.0
Subtracting 315 from 354 leaves us with 39.
Bring next digit (7) of the dividend behind the 39 and repeat the process: 397 / 45

On to step 6:
397 divided by 45 is 8 with a remainder of 37.
Use 8 as the next digit of our solution. 
Result so far: 11378.0
Deduct 360 from 397 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 7:
If we divide 370 by 45, we get 8 and a remainder of 10.
The next digit of our result is 8. 
Result so far: 11378.8
Subtract 360 from 370 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
45 can be fit into 100 2 times, resulting in a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 11378.82
Subtracting 90 from 100 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 9:
The number 45 fits into 100 2 times, leaving a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 11378.822
Subtracting 90 from 100 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 11378.822 with a remainder of 0.001.