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

On to step 1:
51 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 51

Step 2:
If we divide 39 by 51, we get 0 and a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Fetch the next digit (4) from the dividend, attach it to 39 and continue: 394 / 51

Let's proceed to step 3:
51 goes into 394 7 times with a remainder of 37.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we subtract 357 from 394, we get 37.
Fetch the next digit (0) from the dividend, attach it to 37 and continue: 370 / 51

On to step 4:
If we divide 370 by 51, we get 7 and a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 77.0
The remainder is 13 after subtracting 357 from 370.
Fetch the next digit (4) from the dividend, attach it to 13 and continue: 134 / 51

On to step 5:
134 divided by 51 is 2 with a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 772.0
Subtracting 102 from 134 leaves us with 32.
Take the next digit (4) from the dividend and append it to 32, then repeat: 324 / 51

Step 6:
324 divided by 51 is 6 with a remainder of 18.
The number 6 becomes the next digit in our result. 
Result so far: 7726.0
Subtract 306 from 324 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 7:
The number 51 fits into 180 3 times, leaving a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 7726.3
Deduct 153 from 180 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 8:
If we divide 270 by 51, we get 5 and a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 7726.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:
The number 51 fits into 150 2 times, leaving a remainder of 48.
Record the quotient 2 as the next digit in the result. 
Result so far: 7726.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:
The number 51 fits into 480 9 times, leaving a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 7726.3529
If we subtract 459 from 480, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 11:
If we divide 210 by 51, we get 4 and a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 7726.35294
If we take 204 away from 210, we end up 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.

Let's proceed to step 12:
The number 51 fits into 60 1 times, leaving a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 7726.352941
Subtracting 51 from 60 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 13:
If we divide 90 by 51, we get 1 and a remainder of 39.
Write down 1 as next digit of the result. 
Result so far: 7726.3529411
If we subtract 51 from 90, we get 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 final result is 7726.3529411 with a remainder of 3.9e-07.