We divide 502814 by 51
The aim is to understand the frequency of 51 in 502814.

Let's proceed to step 1:
If we divide 5 by 51, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 51

Step 2:
If we divide 50 by 51, we get 0 and a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Include the next digit (2) from the dividend after 50, then repeat: 502 / 51

Moving on to step 3:
502 divided by 51 is 9 with a remainder of 43.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Deduct 459 from 502 and we're left with 43.
Grab the next digit (8) from the dividend, add it to 43, then carry on: 438 / 51

On to step 4:
The number 51 fits into 438 8 times, leaving a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 98.0
If we take 408 away from 438, we end up with 30.
Bring next digit (1) of the dividend behind the 30 and repeat the process: 301 / 51

Going ahead to step 5:
When dividing 301 by 51, we get 5 with a remainder of 46.
Put 5 as the next digit of the answer. 
Result so far: 985.0
If we take 255 away from 301, we end up with 46.
Append the next digit (4) from the dividend to 46 and continue with: 464 / 51

On to step 6:
51 goes into 464 9 times with a remainder of 5.
Use 9 as the next digit of our solution. 
Result so far: 9859.0
Subtracting 459 from 464 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
51 goes into 50 0 times with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 9859.0
If we take 0 away from 50, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 8:
The number 51 fits into 500 9 times, leaving a remainder of 41.
Put 9 as the next digit of the answer. 
Result so far: 9859.09
Deduct 459 from 500 and we're left with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Let's proceed to step 9:
51 goes into 410 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 9859.098
Deduct 408 from 410 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 10:
20 divided by 51 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 9859.098
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 11:
51 goes into 200 3 times with a remainder of 47.
The next digit of our result is 3. 
Result so far: 9859.09803
If we subtract 153 from 200, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Let's proceed to step 12:
When dividing 470 by 51, we get 9 with a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 9859.098039
Subtracting 459 from 470 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 13:
51 goes into 110 2 times with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 9859.0980392
Deduct 102 from 110 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 14:
If we divide 80 by 51, we get 1 and a remainder of 29.
Record the quotient 1 as the next digit in the result. 
Result so far: 9859.09803921
If we subtract 51 from 80, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

In conclusion, the division gives 9859.09803921 with a balance of 2.9e-08.