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

Step 1:
The number 51 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 51

On to step 2:
The number 51 fits into 36 0 times, leaving a remainder of 36.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 36 after subtracting 0 from 36.
Bring next digit (4) of the dividend behind the 36 and repeat the process: 364 / 51

On to step 3:
364 divided by 51 is 7 with a remainder of 7.
The next digit of our result is 7. 
Result so far: 7.0
If we take 357 away from 364, we end up with 7.
Fetch the next digit (5) from the dividend, attach it to 7 and continue: 75 / 51

Step 4:
51 goes into 75 1 times with a remainder of 24.
Record the quotient 1 as the next digit in the result. 
Result so far: 71.0
Subtract 51 from 75 to get 24.
Bring next digit (0) of the dividend behind the 24 and repeat the process: 240 / 51

Advancing to step 5:
240 divided by 51 is 4 with a remainder of 36.
Write down 4 as next digit of the result. 
Result so far: 714.0
If we take 204 away from 240, we end up with 36.
Take the next digit (9) from the dividend and append it to 36, then repeat: 369 / 51

On to step 6:
If we divide 369 by 51, we get 7 and a remainder of 12.
The number 7 becomes the next digit in our result. 
Result so far: 7147.0
Deduct 357 from 369 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 7:
51 goes into 120 2 times with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 7147.2
Subtract 102 from 120 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.

On to step 8:
51 can be fit into 180 3 times, resulting in a remainder of 27.
The next digit of our result is 3. 
Result so far: 7147.23
The remainder is 27 after subtracting 153 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 9:
If we divide 270 by 51, we get 5 and a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 7147.235
Subtract 255 from 270 to 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.

Advancing to step 10:
150 divided by 51 is 2 with a remainder of 48.
Use 2 as the next digit of our solution. 
Result so far: 7147.2352
Subtracting 102 from 150 leaves us 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.

Going ahead to step 11:
The number 51 fits into 480 9 times, leaving a remainder of 21.
The next digit of our result is 9. 
Result so far: 7147.23529
If we take 459 away from 480, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 12:
The number 51 fits into 210 4 times, leaving a remainder of 6.
The next digit of our result is 4. 
Result so far: 7147.235294
Subtracting 204 from 210 leaves us 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 13:
51 goes into 60 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 7147.2352941
Subtract 51 from 60 to get 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 14:
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: 7147.23529411
Deduct 51 from 90 and we're left 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.

The final result is 7147.23529411 with a remainder of 3.9e-08.