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

On to step 1:
638 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 638

Advancing to step 2:
When dividing 22 by 638, we get 0 with a remainder of 22.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 22 and we're left with 22.
Append the next digit (8) from the dividend to 22 and continue with: 228 / 638

Moving on to step 3:
228 divided by 638 is 0 with a remainder of 228.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 228 and we're left with 228.
Fetch the next digit (6) from the dividend, attach it to 228 and continue: 2286 / 638

Let's proceed to step 4:
When dividing 2286 by 638, we get 3 with a remainder of 372.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 1914 away from 2286, we end up with 372.
Append the next digit (5) from the dividend to 372 and continue with: 3725 / 638

On to step 5:
If we divide 3725 by 638, we get 5 and a remainder of 535.
Put 5 as the next digit of the answer. 
Result so far: 35.0
The remainder is 535 after subtracting 3190 from 3725.
Include the next digit (1) from the dividend after 535, then repeat: 5351 / 638

Step 6:
If we divide 5351 by 638, we get 8 and a remainder of 247.
Use 8 as the next digit of our solution. 
Result so far: 358.0
Deduct 5104 from 5351 and we're left with 247.
Take the next digit (6) from the dividend and append it to 247, then repeat: 2476 / 638

Let's proceed to step 7:
2476 divided by 638 is 3 with a remainder of 562.
The next digit of our result is 3. 
Result so far: 3583.0
Subtracting 1914 from 2476 leaves us with 562.
Take the next digit (3) from the dividend and append it to 562, then repeat: 5623 / 638

Step 8:
638 can be fit into 5623 8 times, resulting in a remainder of 519.
The number 8 becomes the next digit in our result. 
Result so far: 35838.0
If we subtract 5104 from 5623, we get 519.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5190, and continue the process.

Advancing to step 9:
The number 638 fits into 5190 8 times, leaving a remainder of 86.
Record the quotient 8 as the next digit in the result. 
Result so far: 35838.8
Deduct 5104 from 5190 and we're left with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Going ahead to step 10:
638 can be fit into 860 1 times, resulting in a remainder of 222.
The number 1 becomes the next digit in our result. 
Result so far: 35838.81
Subtracting 638 from 860 leaves us with 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Going ahead to step 11:
2220 divided by 638 is 3 with a remainder of 306.
Use 3 as the next digit of our solution. 
Result so far: 35838.813
Subtracting 1914 from 2220 leaves us with 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Going ahead to step 12:
638 goes into 3060 4 times with a remainder of 508.
Use 4 as the next digit of our solution. 
Result so far: 35838.8134
Subtracting 2552 from 3060 leaves us with 508.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

Going ahead to step 13:
5080 divided by 638 is 7 with a remainder of 614.
The next digit of our result is 7. 
Result so far: 35838.81347
If we take 4466 away from 5080, we end up with 614.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6140, and continue the process.

Let's proceed to step 14:
6140 divided by 638 is 9 with a remainder of 398.
Write down 9 as next digit of the result. 
Result so far: 35838.813479
If we take 5742 away from 6140, we end up with 398.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3980, and continue the process.

Let's proceed to step 15:
The number 638 fits into 3980 6 times, leaving a remainder of 152.
The number 6 becomes the next digit in our result. 
Result so far: 35838.8134796
If we subtract 3828 from 3980, we get 152.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

Moving on to step 16:
638 goes into 1520 2 times with a remainder of 244.
The next digit of our result is 2. 
Result so far: 35838.81347962
If we subtract 1276 from 1520, we get 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

The quotient of the division is 35838.81347962, and the remainder is 2.44e-07.