We look at the division of 985931 by 51 
The aim is to understand the frequency of 51 in 985931.

Let's proceed to step 1:
9 divided by 51 is 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 51

Step 2:
98 divided by 51 is 1 with a remainder of 47.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 51 away from 98, we end up with 47.
Fetch the next digit (5) from the dividend, attach it to 47 and continue: 475 / 51

Let's proceed to step 3:
If we divide 475 by 51, we get 9 and a remainder of 16.
Use 9 as the next digit of our solution. 
Result so far: 19.0
Deduct 459 from 475 and we're left with 16.
Bring next digit (9) of the dividend behind the 16 and repeat the process: 169 / 51

Going ahead to step 4:
When dividing 169 by 51, we get 3 with a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 193.0
If we subtract 153 from 169, we get 16.
Grab the next digit (3) from the dividend, add it to 16, then carry on: 163 / 51

Let's proceed to step 5:
The number 51 fits into 163 3 times, leaving a remainder of 10.
Use 3 as the next digit of our solution. 
Result so far: 1933.0
Subtracting 153 from 163 leaves us with 10.
Include the next digit (1) from the dividend after 10, then repeat: 101 / 51

Advancing to step 6:
51 can be fit into 101 1 times, resulting in a remainder of 50.
Put 1 as the next digit of the answer. 
Result so far: 19331.0
Subtracting 51 from 101 leaves us 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.

Advancing to step 7:
500 divided by 51 is 9 with a remainder of 41.
Record the quotient 9 as the next digit in the result. 
Result so far: 19331.9
If we subtract 459 from 500, we get 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 8:
410 divided by 51 is 8 with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 19331.98
If we take 408 away from 410, we end up 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.

Moving on to step 9:
51 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 19331.98
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 10:
51 can be fit into 200 3 times, resulting in a remainder of 47.
Record the quotient 3 as the next digit in the result. 
Result so far: 19331.9803
The remainder is 47 after subtracting 153 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 11:
51 can be fit into 470 9 times, resulting in a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 19331.98039
The remainder is 11 after subtracting 459 from 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 12:
110 divided by 51 is 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 19331.980392
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.

Let's proceed to step 13:
80 divided by 51 is 1 with a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 19331.9803921
Subtract 51 from 80 to 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.

On to step 14:
51 goes into 290 5 times with a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 19331.98039215
Subtracting 255 from 290 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The final outcome is 19331.98039215, with a leftover of 3.5e-08.