We're dividing 504579 by 51 
The aim is to understand the frequency of 51 in 504579.

Going ahead to step 1:
51 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 51

Advancing to step 2:
50 divided by 51 is 0 with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Bring next digit (4) of the dividend behind the 50 and repeat the process: 504 / 51

Moving on to step 3:
If we divide 504 by 51, we get 9 and a remainder of 45.
Use 9 as the next digit of our solution. 
Result so far: 9.0
Deduct 459 from 504 and we're left with 45.
Bring next digit (5) of the dividend behind the 45 and repeat the process: 455 / 51

Going ahead to step 4:
If we divide 455 by 51, we get 8 and a remainder of 47.
Write down 8 as next digit of the result. 
Result so far: 98.0
If we subtract 408 from 455, we get 47.
Include the next digit (7) from the dividend after 47, then repeat: 477 / 51

Going ahead to step 5:
The number 51 fits into 477 9 times, leaving a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 989.0
Subtracting 459 from 477 leaves us with 18.
Fetch the next digit (9) from the dividend, attach it to 18 and continue: 189 / 51

Moving on to step 6:
51 can be fit into 189 3 times, resulting in a remainder of 36.
The number 3 becomes the next digit in our result. 
Result so far: 9893.0
Deduct 153 from 189 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 7:
If we divide 360 by 51, we get 7 and a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 9893.7
If we take 357 away from 360, we end up with 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 8:
51 can be fit into 30 0 times, resulting in a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 9893.7
Subtract 0 from 30 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.

Advancing to step 9:
51 goes into 300 5 times with a remainder of 45.
Put 5 as the next digit of the answer. 
Result so far: 9893.705
Subtract 255 from 300 to get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Step 10:
51 goes into 450 8 times with a remainder of 42.
Use 8 as the next digit of our solution. 
Result so far: 9893.7058
Subtracting 408 from 450 leaves us 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.

Moving on to step 11:
420 divided by 51 is 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 9893.70588
Subtract 408 from 420 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 9893.70588 with a remaining 1.2e-05.