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

Let's proceed to step 1:
The number 51 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 51

Let's proceed to step 2:
When dividing 39 by 51, we get 0 with a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Fetch the next digit (1) from the dividend, attach it to 39 and continue: 391 / 51

Step 3:
51 can be fit into 391 7 times, resulting in a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
The remainder is 34 after subtracting 357 from 391.
Grab the next digit (0) from the dividend, add it to 34, then carry on: 340 / 51

Step 4:
If we divide 340 by 51, we get 6 and a remainder of 34.
The next digit of our result is 6. 
Result so far: 76.0
Subtract 306 from 340 to get 34.
Fetch the next digit (1) from the dividend, attach it to 34 and continue: 341 / 51

Step 5:
When dividing 341 by 51, we get 6 with a remainder of 35.
The next digit of our result is 6. 
Result so far: 766.0
The remainder is 35 after subtracting 306 from 341.
Include the next digit (4) from the dividend after 35, then repeat: 354 / 51

On to step 6:
When dividing 354 by 51, we get 6 with a remainder of 48.
The number 6 becomes the next digit in our result. 
Result so far: 7666.0
Deduct 306 from 354 and we're left with 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 7:
If we divide 480 by 51, we get 9 and a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 7666.9
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.

Going ahead to step 8:
The number 51 fits into 210 4 times, leaving a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 7666.94
Subtract 204 from 210 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 9:
51 can be fit into 60 1 times, resulting in a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 7666.941
If we take 51 away from 60, we end up 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.

Moving on to step 10:
51 can be fit into 90 1 times, resulting in a remainder of 39.
The number 1 becomes the next digit in our result. 
Result so far: 7666.9411
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.

After the division, we end up with 7666.9411 and a remainder of 0.00039.