Let's divide 87564340 by 638
The aim is to understand the frequency of 638 in 87564340.

Let's proceed to step 1:
The number 638 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 638

Going ahead to step 2:
87 divided by 638 is 0 with a remainder of 87.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 87, we end up with 87.
Fetch the next digit (5) from the dividend, attach it to 87 and continue: 875 / 638

Let's proceed to step 3:
The number 638 fits into 875 1 times, leaving a remainder of 237.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 638 away from 875, we end up with 237.
Include the next digit (6) from the dividend after 237, then repeat: 2376 / 638

Let's proceed to step 4:
638 can be fit into 2376 3 times, resulting in a remainder of 462.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
The remainder is 462 after subtracting 1914 from 2376.
Take the next digit (4) from the dividend and append it to 462, then repeat: 4624 / 638

Let's proceed to step 5:
The number 638 fits into 4624 7 times, leaving a remainder of 158.
The number 7 becomes the next digit in our result. 
Result so far: 137.0
Deduct 4466 from 4624 and we're left with 158.
Take the next digit (3) from the dividend and append it to 158, then repeat: 1583 / 638

Going ahead to step 6:
If we divide 1583 by 638, we get 2 and a remainder of 307.
Record the quotient 2 as the next digit in the result. 
Result so far: 1372.0
The remainder is 307 after subtracting 1276 from 1583.
Include the next digit (4) from the dividend after 307, then repeat: 3074 / 638

On to step 7:
When dividing 3074 by 638, we get 4 with a remainder of 522.
Record the quotient 4 as the next digit in the result. 
Result so far: 13724.0
The remainder is 522 after subtracting 2552 from 3074.
Bring next digit (0) of the dividend behind the 522 and repeat the process: 5220 / 638

Step 8:
638 goes into 5220 8 times with a remainder of 116.
Put 8 as the next digit of the answer. 
Result so far: 137248.0
Subtract 5104 from 5220 to get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Moving on to step 9:
The number 638 fits into 1160 1 times, leaving a remainder of 522.
The next digit of our result is 1. 
Result so far: 137248.1
Subtracting 638 from 1160 leaves us with 522.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Going ahead to step 10:
The number 638 fits into 5220 8 times, leaving a remainder of 116.
Use 8 as the next digit of our solution. 
Result so far: 137248.18
If we subtract 5104 from 5220, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Step 11:
1160 divided by 638 is 1 with a remainder of 522.
Write down 1 as next digit of the result. 
Result so far: 137248.181
The remainder is 522 after subtracting 638 from 1160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Advancing to step 12:
If we divide 5220 by 638, we get 8 and a remainder of 116.
Put 8 as the next digit of the answer. 
Result so far: 137248.1818
Deduct 5104 from 5220 and we're left with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Going ahead to step 13:
If we divide 1160 by 638, we get 1 and a remainder of 522.
Put 1 as the next digit of the answer. 
Result so far: 137248.18181
The remainder is 522 after subtracting 638 from 1160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Going ahead to step 14:
The number 638 fits into 5220 8 times, leaving a remainder of 116.
Use 8 as the next digit of our solution. 
Result so far: 137248.181818
Subtracting 5104 from 5220 leaves us with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Step 15:
If we divide 1160 by 638, we get 1 and a remainder of 522.
The number 1 becomes the next digit in our result. 
Result so far: 137248.1818181
The remainder is 522 after subtracting 638 from 1160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5220, and continue the process.

Moving on to step 16:
The number 638 fits into 5220 8 times, leaving a remainder of 116.
The next digit of our result is 8. 
Result so far: 137248.18181818
Subtracting 5104 from 5220 leaves us with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

After the division, we end up with 137248.18181818 and a remainder of 1.16e-07.