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

Step 1:
8 divided by 51 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 51

Advancing to step 2:
The number 51 fits into 83 1 times, leaving a remainder of 32.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 32 after subtracting 51 from 83.
Fetch the next digit (6) from the dividend, attach it to 32 and continue: 326 / 51

Step 3:
326 divided by 51 is 6 with a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 16.0
The remainder is 20 after subtracting 306 from 326.
Append the next digit (4) from the dividend to 20 and continue with: 204 / 51

On to step 4:
51 can be fit into 204 4 times, resulting in a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 164.0
Subtract 204 from 204 to get 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 51

Let's proceed to step 5:
The number 51 fits into 6 0 times, leaving a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 1640.0
If we take 0 away from 6, we end up with 6.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 51

Step 6:
The number 51 fits into 65 1 times, leaving a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 16401.0
If we subtract 51 from 65, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 7:
If we divide 140 by 51, we get 2 and a remainder of 38.
The next digit of our result is 2. 
Result so far: 16401.2
Subtract 102 from 140 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 8:
When dividing 380 by 51, we get 7 with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 16401.27
If we take 357 away from 380, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 9:
The number 51 fits into 230 4 times, leaving a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 16401.274
Deduct 204 from 230 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 10:
51 goes into 260 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 16401.2745
The remainder is 5 after subtracting 255 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 11:
If we divide 50 by 51, we get 0 and a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 16401.2745
The remainder is 50 after subtracting 0 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 12:
The number 51 fits into 500 9 times, leaving a remainder of 41.
Write down 9 as next digit of the result. 
Result so far: 16401.274509
The remainder is 41 after subtracting 459 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

On to step 13:
51 goes into 410 8 times with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 16401.2745098
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.

Step 14:
If we divide 20 by 51, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 16401.2745098
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Our division results in 16401.2745098 with a remaining 2e-08.