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

On to step 1:
51 can be fit into 7 0 times, resulting in a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 51

Moving on to step 2:
78 divided by 51 is 1 with a remainder of 27.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 27 after subtracting 51 from 78.
Fetch the next digit (3) from the dividend, attach it to 27 and continue: 273 / 51

Moving on to step 3:
51 can be fit into 273 5 times, resulting in a remainder of 18.
The next digit of our result is 5. 
Result so far: 15.0
If we take 255 away from 273, we end up with 18.
Bring next digit (9) of the dividend behind the 18 and repeat the process: 189 / 51

Step 4:
If we divide 189 by 51, we get 3 and a remainder of 36.
Record the quotient 3 as the next digit in the result. 
Result so far: 153.0
If we take 153 away from 189, we end up with 36.
Append the next digit (6) from the dividend to 36 and continue with: 366 / 51

Let's proceed to step 5:
366 divided by 51 is 7 with a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 1537.0
If we take 357 away from 366, we end up with 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 51

On to step 6:
51 goes into 98 1 times with a remainder of 47.
The number 1 becomes the next digit in our result. 
Result so far: 15371.0
Subtract 51 from 98 to 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.

Moving on to step 7:
The number 51 fits into 470 9 times, leaving a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 15371.9
If we subtract 459 from 470, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 8:
51 can be fit into 110 2 times, resulting in a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 15371.92
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.

Advancing to step 9:
80 divided by 51 is 1 with a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 15371.921
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.

Step 10:
51 can be fit into 290 5 times, resulting in a remainder of 35.
The next digit of our result is 5. 
Result so far: 15371.9215
The remainder is 35 after subtracting 255 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 11:
The number 51 fits into 350 6 times, leaving a remainder of 44.
Put 6 as the next digit of the answer. 
Result so far: 15371.92156
Subtract 306 from 350 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 12:
The number 51 fits into 440 8 times, leaving a remainder of 32.
Put 8 as the next digit of the answer. 
Result so far: 15371.921568
Subtract 408 from 440 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 13:
51 can be fit into 320 6 times, resulting in a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 15371.9215686
Deduct 306 from 320 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 14:
When dividing 140 by 51, we get 2 with a remainder of 38.
The number 2 becomes the next digit in our result. 
Result so far: 15371.92156862
The remainder is 38 after subtracting 102 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

After the division, we end up with 15371.92156862 and a remainder of 3.8e-08.