We look at the division of 51147727 by 638 
The aim is to understand the frequency of 638 in 51147727.

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

Advancing to step 2:
638 can be fit into 51 0 times, resulting in a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 51 leaves us with 51.
Grab the next digit (1) from the dividend, add it to 51, then carry on: 511 / 638

Let's proceed to step 3:
If we divide 511 by 638, we get 0 and a remainder of 511.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 511 and we're left with 511.
Grab the next digit (4) from the dividend, add it to 511, then carry on: 5114 / 638

Going ahead to step 4:
638 can be fit into 5114 8 times, resulting in a remainder of 10.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 5104 from 5114, we get 10.
Grab the next digit (7) from the dividend, add it to 10, then carry on: 107 / 638

Let's proceed to step 5:
If we divide 107 by 638, we get 0 and a remainder of 107.
The number 0 becomes the next digit in our result. 
Result so far: 80.0
If we subtract 0 from 107, we get 107.
Grab the next digit (7) from the dividend, add it to 107, then carry on: 1077 / 638

On to step 6:
If we divide 1077 by 638, we get 1 and a remainder of 439.
Put 1 as the next digit of the answer. 
Result so far: 801.0
The remainder is 439 after subtracting 638 from 1077.
Include the next digit (2) from the dividend after 439, then repeat: 4392 / 638

Going ahead to step 7:
638 can be fit into 4392 6 times, resulting in a remainder of 564.
The next digit of our result is 6. 
Result so far: 8016.0
The remainder is 564 after subtracting 3828 from 4392.
Fetch the next digit (7) from the dividend, attach it to 564 and continue: 5647 / 638

Let's proceed to step 8:
When dividing 5647 by 638, we get 8 with a remainder of 543.
Put 8 as the next digit of the answer. 
Result so far: 80168.0
If we take 5104 away from 5647, we end up with 543.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5430, and continue the process.

Moving on to step 9:
If we divide 5430 by 638, we get 8 and a remainder of 326.
The next digit of our result is 8. 
Result so far: 80168.8
If we subtract 5104 from 5430, we get 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

On to step 10:
638 goes into 3260 5 times with a remainder of 70.
Put 5 as the next digit of the answer. 
Result so far: 80168.85
If we subtract 3190 from 3260, we get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 11:
The number 638 fits into 700 1 times, leaving a remainder of 62.
Write down 1 as next digit of the result. 
Result so far: 80168.851
The remainder is 62 after subtracting 638 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 12:
The number 638 fits into 620 0 times, leaving a remainder of 620.
Write down 0 as next digit of the result. 
Result so far: 80168.851
If we subtract 0 from 620, we get 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6200, and continue the process.

Advancing to step 13:
638 goes into 6200 9 times with a remainder of 458.
Use 9 as the next digit of our solution. 
Result so far: 80168.85109
Deduct 5742 from 6200 and we're left with 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

On to step 14:
638 goes into 4580 7 times with a remainder of 114.
Record the quotient 7 as the next digit in the result. 
Result so far: 80168.851097
Subtracting 4466 from 4580 leaves us with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Going ahead to step 15:
638 goes into 1140 1 times with a remainder of 502.
Use 1 as the next digit of our solution. 
Result so far: 80168.8510971
The remainder is 502 after subtracting 638 from 1140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5020, and continue the process.

Going ahead to step 16:
When dividing 5020 by 638, we get 7 with a remainder of 554.
The next digit of our result is 7. 
Result so far: 80168.85109717
Deduct 4466 from 5020 and we're left with 554.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5540, and continue the process.

Our division results in 80168.85109717 with a remaining 5.54e-07.