We're dividing 651004 by 51 
The aim is to understand the frequency of 51 in 651004.

On to step 1:
51 goes into 6 0 times with a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Append the next digit (5) from the dividend to 6 and continue with: 65 / 51

Moving on to step 2:
When dividing 65 by 51, we get 1 with a remainder of 14.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 51 away from 65, we end up with 14.
Include the next digit (1) from the dividend after 14, then repeat: 141 / 51

On to step 3:
141 divided by 51 is 2 with a remainder of 39.
The next digit of our result is 2. 
Result so far: 12.0
If we subtract 102 from 141, we get 39.
Grab the next digit (0) from the dividend, add it to 39, then carry on: 390 / 51

Let's proceed to step 4:
390 divided by 51 is 7 with a remainder of 33.
The next digit of our result is 7. 
Result so far: 127.0
Subtract 357 from 390 to get 33.
Take the next digit (0) from the dividend and append it to 33, then repeat: 330 / 51

Moving on to step 5:
330 divided by 51 is 6 with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 1276.0
Deduct 306 from 330 and we're left with 24.
Include the next digit (4) from the dividend after 24, then repeat: 244 / 51

Step 6:
When dividing 244 by 51, we get 4 with a remainder of 40.
Put 4 as the next digit of the answer. 
Result so far: 12764.0
The remainder is 40 after subtracting 204 from 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 7:
51 can be fit into 400 7 times, resulting in a remainder of 43.
Write down 7 as next digit of the result. 
Result so far: 12764.7
Subtract 357 from 400 to get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Going ahead to step 8:
If we divide 430 by 51, we get 8 and a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 12764.78
If we take 408 away from 430, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 9:
The number 51 fits into 220 4 times, leaving a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 12764.784
Deduct 204 from 220 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 10:
51 goes into 160 3 times with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 12764.7843
Subtract 153 from 160 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 11:
70 divided by 51 is 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 12764.78431
The remainder is 19 after subtracting 51 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 12:
When dividing 190 by 51, we get 3 with a remainder of 37.
Put 3 as the next digit of the answer. 
Result so far: 12764.784313
Subtracting 153 from 190 leaves us with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 13:
51 goes into 370 7 times with a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 12764.7843137
Subtract 357 from 370 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 14:
When dividing 130 by 51, we get 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 12764.78431372
Deduct 102 from 130 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final result is 12764.78431372 with a remainder of 2.8e-08.