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

Going ahead to step 1:
The number 51 fits into 6 0 times, leaving a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Grab the next digit (4) from the dividend, add it to 6, then carry on: 64 / 51

Advancing to step 2:
If we divide 64 by 51, we get 1 and a remainder of 13.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 51 from 64 and we're left with 13.
Grab the next digit (1) from the dividend, add it to 13, then carry on: 131 / 51

Moving on to step 3:
The number 51 fits into 131 2 times, leaving a remainder of 29.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtracting 102 from 131 leaves us with 29.
Grab the next digit (0) from the dividend, add it to 29, then carry on: 290 / 51

Moving on to step 4:
290 divided by 51 is 5 with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 125.0
If we take 255 away from 290, we end up with 35.
Take the next digit (0) from the dividend and append it to 35, then repeat: 350 / 51

Let's proceed to step 5:
51 goes into 350 6 times with a remainder of 44.
The next digit of our result is 6. 
Result so far: 1256.0
Subtract 306 from 350 to get 44.
Append the next digit (6) from the dividend to 44 and continue with: 446 / 51

Advancing to step 6:
The number 51 fits into 446 8 times, leaving a remainder of 38.
The next digit of our result is 8. 
Result so far: 12568.0
Deduct 408 from 446 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 7:
51 goes into 380 7 times with a remainder of 23.
The next digit of our result is 7. 
Result so far: 12568.7
Deduct 357 from 380 and we're left 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.

On to step 8:
230 divided by 51 is 4 with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 12568.74
Subtracting 204 from 230 leaves us 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 9:
When dividing 260 by 51, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 12568.745
Subtracting 255 from 260 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 10:
51 goes into 50 0 times with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 12568.745
Subtracting 0 from 50 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.

On to step 11:
The number 51 fits into 500 9 times, leaving a remainder of 41.
Record the quotient 9 as the next digit in the result. 
Result so far: 12568.74509
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.

Going ahead to step 12:
If we divide 410 by 51, we get 8 and a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 12568.745098
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.

Let's proceed to step 13:
When dividing 20 by 51, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 12568.745098
Subtracting 0 from 20 leaves us 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.

On to step 14:
200 divided by 51 is 3 with a remainder of 47.
Write down 3 as next digit of the result. 
Result so far: 12568.74509803
Deduct 153 from 200 and we're left with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

The final outcome is 12568.74509803, with a leftover of 4.7e-08.