We divide 51877211 by 638
The aim is to understand the frequency of 638 in 51877211.

Let's proceed to step 1:
5 divided by 638 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 638

Moving on to step 2:
If we divide 51 by 638, we get 0 and a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Fetch the next digit (8) from the dividend, attach it to 51 and continue: 518 / 638

On to step 3:
If we divide 518 by 638, we get 0 and a remainder of 518.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 518, we end up with 518.
Bring next digit (7) of the dividend behind the 518 and repeat the process: 5187 / 638

Moving on to step 4:
638 goes into 5187 8 times with a remainder of 83.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we take 5104 away from 5187, we end up with 83.
Include the next digit (7) from the dividend after 83, then repeat: 837 / 638

On to step 5:
If we divide 837 by 638, we get 1 and a remainder of 199.
Use 1 as the next digit of our solution. 
Result so far: 81.0
The remainder is 199 after subtracting 638 from 837.
Grab the next digit (2) from the dividend, add it to 199, then carry on: 1992 / 638

Moving on to step 6:
When dividing 1992 by 638, we get 3 with a remainder of 78.
Write down 3 as next digit of the result. 
Result so far: 813.0
If we subtract 1914 from 1992, we get 78.
Grab the next digit (1) from the dividend, add it to 78, then carry on: 781 / 638

Let's proceed to step 7:
When dividing 781 by 638, we get 1 with a remainder of 143.
Write down 1 as next digit of the result. 
Result so far: 8131.0
If we subtract 638 from 781, we get 143.
Include the next digit (1) from the dividend after 143, then repeat: 1431 / 638

Let's proceed to step 8:
1431 divided by 638 is 2 with a remainder of 155.
Use 2 as the next digit of our solution. 
Result so far: 81312.0
If we subtract 1276 from 1431, we get 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Advancing to step 9:
638 can be fit into 1550 2 times, resulting in a remainder of 274.
The number 2 becomes the next digit in our result. 
Result so far: 81312.2
Subtract 1276 from 1550 to get 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Step 10:
When dividing 2740 by 638, we get 4 with a remainder of 188.
Record the quotient 4 as the next digit in the result. 
Result so far: 81312.24
Deduct 2552 from 2740 and we're left with 188.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1880, and continue the process.

Moving on to step 11:
638 can be fit into 1880 2 times, resulting in a remainder of 604.
Record the quotient 2 as the next digit in the result. 
Result so far: 81312.242
Subtracting 1276 from 1880 leaves us with 604.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6040, and continue the process.

Step 12:
638 goes into 6040 9 times with a remainder of 298.
The next digit of our result is 9. 
Result so far: 81312.2429
If we subtract 5742 from 6040, we get 298.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2980, and continue the process.

Advancing to step 13:
When dividing 2980 by 638, we get 4 with a remainder of 428.
Put 4 as the next digit of the answer. 
Result so far: 81312.24294
Deduct 2552 from 2980 and we're left with 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

Going ahead to step 14:
When dividing 4280 by 638, we get 6 with a remainder of 452.
Record the quotient 6 as the next digit in the result. 
Result so far: 81312.242946
If we take 3828 away from 4280, we end up with 452.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4520, and continue the process.

Step 15:
638 can be fit into 4520 7 times, resulting in a remainder of 54.
Put 7 as the next digit of the answer. 
Result so far: 81312.2429467
The remainder is 54 after subtracting 4466 from 4520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 16:
638 goes into 540 0 times with a remainder of 540.
Put 0 as the next digit of the answer. 
Result so far: 81312.2429467
If we subtract 0 from 540, we get 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

The final outcome is 81312.2429467, with a leftover of 5.4e-07.