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

On to step 1:
51 can be fit into 8 0 times, resulting in a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Append the next digit (5) from the dividend to 8 and continue with: 85 / 51

Advancing to step 2:
When dividing 85 by 51, we get 1 with a remainder of 34.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 51 from 85 leaves us with 34.
Take the next digit (1) from the dividend and append it to 34, then repeat: 341 / 51

Going ahead to step 3:
If we divide 341 by 51, we get 6 and a remainder of 35.
Use 6 as the next digit of our solution. 
Result so far: 16.0
If we take 306 away from 341, we end up with 35.
Grab the next digit (4) from the dividend, add it to 35, then carry on: 354 / 51

Going ahead to step 4:
If we divide 354 by 51, we get 6 and a remainder of 48.
The next digit of our result is 6. 
Result so far: 166.0
If we take 306 away from 354, we end up with 48.
Append the next digit (1) from the dividend to 48 and continue with: 481 / 51

On to step 5:
If we divide 481 by 51, we get 9 and a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 1669.0
If we take 459 away from 481, we end up with 22.
Append the next digit (2) from the dividend to 22 and continue with: 222 / 51

Advancing to step 6:
222 divided by 51 is 4 with a remainder of 18.
Use 4 as the next digit of our solution. 
Result so far: 16694.0
Deduct 204 from 222 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 7:
The number 51 fits into 180 3 times, leaving a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 16694.3
The remainder is 27 after subtracting 153 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 8:
51 goes into 270 5 times with a remainder of 15.
The next digit of our result is 5. 
Result so far: 16694.35
If we subtract 255 from 270, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 9:
51 can be fit into 150 2 times, resulting in a remainder of 48.
Write down 2 as next digit of the result. 
Result so far: 16694.352
If we subtract 102 from 150, we get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Let's proceed to step 10:
51 goes into 480 9 times with a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 16694.3529
The remainder is 21 after subtracting 459 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 11:
51 can be fit into 210 4 times, resulting in a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 16694.35294
Deduct 204 from 210 and we're left 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.

On to step 12:
If we divide 60 by 51, we get 1 and a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 16694.352941
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.

Let's proceed to step 13:
90 divided by 51 is 1 with a remainder of 39.
The next digit of our result is 1. 
Result so far: 16694.3529411
If we take 51 away from 90, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

The quotient of the division is 16694.3529411, and the remainder is 3.9e-07.