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

Going ahead to step 1:
The number 51 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 51

Moving on to step 2:
The number 51 fits into 50 0 times, leaving a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Take the next digit (7) from the dividend and append it to 50, then repeat: 507 / 51

Step 3:
51 goes into 507 9 times with a remainder of 48.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtract 459 from 507 to get 48.
Fetch the next digit (0) from the dividend, attach it to 48 and continue: 480 / 51

Moving on to step 4:
If we divide 480 by 51, we get 9 and a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 99.0
The remainder is 21 after subtracting 459 from 480.
Grab the next digit (3) from the dividend, add it to 21, then carry on: 213 / 51

Advancing to step 5:
51 can be fit into 213 4 times, resulting in a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 994.0
If we subtract 204 from 213, we get 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 51

Moving on to step 6:
51 goes into 99 1 times with a remainder of 48.
Record the quotient 1 as the next digit in the result. 
Result so far: 9941.0
The remainder is 48 after subtracting 51 from 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 7:
480 divided by 51 is 9 with a remainder of 21.
The next digit of our result is 9. 
Result so far: 9941.9
Subtracting 459 from 480 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 8:
When dividing 210 by 51, we get 4 with a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 9941.94
Subtracting 204 from 210 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 9:
51 can be fit into 60 1 times, resulting in a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 9941.941
The remainder is 9 after subtracting 51 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 10:
51 goes into 90 1 times with a remainder of 39.
The number 1 becomes the next digit in our result. 
Result so far: 9941.9411
The remainder is 39 after subtracting 51 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

In conclusion, the division gives 9941.9411 with a balance of 0.00039.