Let's divide 388540 by 51
The aim is to understand the frequency of 51 in 388540.

Step 1:
If we divide 3 by 51, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 51

Let's proceed to step 2:
38 divided by 51 is 0 with a remainder of 38.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 38 after subtracting 0 from 38.
Bring next digit (8) of the dividend behind the 38 and repeat the process: 388 / 51

Step 3:
51 can be fit into 388 7 times, resulting in a remainder of 31.
The next digit of our result is 7. 
Result so far: 7.0
If we take 357 away from 388, we end up with 31.
Bring next digit (5) of the dividend behind the 31 and repeat the process: 315 / 51

Step 4:
When dividing 315 by 51, we get 6 with a remainder of 9.
The number 6 becomes the next digit in our result. 
Result so far: 76.0
Subtracting 306 from 315 leaves us with 9.
Bring next digit (4) of the dividend behind the 9 and repeat the process: 94 / 51

Step 5:
94 divided by 51 is 1 with a remainder of 43.
Write down 1 as next digit of the result. 
Result so far: 761.0
If we subtract 51 from 94, we get 43.
Grab the next digit (0) from the dividend, add it to 43, then carry on: 430 / 51

Moving on to step 6:
51 goes into 430 8 times with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 7618.0
Subtracting 408 from 430 leaves us 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.

Going ahead to step 7:
If we divide 220 by 51, we get 4 and a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 7618.4
If we subtract 204 from 220, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 8:
When dividing 160 by 51, we get 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 7618.43
If we take 153 away from 160, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 9:
70 divided by 51 is 1 with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 7618.431
If we subtract 51 from 70, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 10:
If we divide 190 by 51, we get 3 and a remainder of 37.
Write down 3 as next digit of the result. 
Result so far: 7618.4313
If we subtract 153 from 190, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 11:
51 can be fit into 370 7 times, resulting in a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 7618.43137
Subtracting 357 from 370 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 12:
51 can be fit into 130 2 times, resulting in a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 7618.431372
If we subtract 102 from 130, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 13:
51 can be fit into 280 5 times, resulting in a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 7618.4313725
If we subtract 255 from 280, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 14:
The number 51 fits into 250 4 times, leaving a remainder of 46.
Record the quotient 4 as the next digit in the result. 
Result so far: 7618.43137254
Deduct 204 from 250 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

The final result is 7618.43137254 with a remainder of 4.6e-08.