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

On to step 1:
The number 638 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 638

Let's proceed to step 2:
When dividing 18 by 638, we get 0 with a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 18 to get 18.
Fetch the next digit (0) from the dividend, attach it to 18 and continue: 180 / 638

On to step 3:
When dividing 180 by 638, we get 0 with a remainder of 180.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 180, we get 180.
Grab the next digit (6) from the dividend, add it to 180, then carry on: 1806 / 638

Step 4:
The number 638 fits into 1806 2 times, leaving a remainder of 530.
The next digit of our result is 2. 
Result so far: 2.0
If we take 1276 away from 1806, we end up with 530.
Include the next digit (3) from the dividend after 530, then repeat: 5303 / 638

Step 5:
The number 638 fits into 5303 8 times, leaving a remainder of 199.
The next digit of our result is 8. 
Result so far: 28.0
Subtract 5104 from 5303 to get 199.
Include the next digit (1) from the dividend after 199, then repeat: 1991 / 638

Step 6:
When dividing 1991 by 638, we get 3 with a remainder of 77.
The next digit of our result is 3. 
Result so far: 283.0
Deduct 1914 from 1991 and we're left with 77.
Grab the next digit (4) from the dividend, add it to 77, then carry on: 774 / 638

On to step 7:
774 divided by 638 is 1 with a remainder of 136.
Write down 1 as next digit of the result. 
Result so far: 2831.0
Subtract 638 from 774 to get 136.
Grab the next digit (0) from the dividend, add it to 136, then carry on: 1360 / 638

Advancing to step 8:
The number 638 fits into 1360 2 times, leaving a remainder of 84.
Put 2 as the next digit of the answer. 
Result so far: 28312.0
Subtract 1276 from 1360 to get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 9:
840 divided by 638 is 1 with a remainder of 202.
Record the quotient 1 as the next digit in the result. 
Result so far: 28312.1
The remainder is 202 after subtracting 638 from 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2020, and continue the process.

Let's proceed to step 10:
638 can be fit into 2020 3 times, resulting in a remainder of 106.
Put 3 as the next digit of the answer. 
Result so far: 28312.13
If we take 1914 away from 2020, we end up with 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Step 11:
The number 638 fits into 1060 1 times, leaving a remainder of 422.
Put 1 as the next digit of the answer. 
Result so far: 28312.131
If we subtract 638 from 1060, we get 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Step 12:
4220 divided by 638 is 6 with a remainder of 392.
Write down 6 as next digit of the result. 
Result so far: 28312.1316
Subtracting 3828 from 4220 leaves us with 392.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3920, and continue the process.

Advancing to step 13:
If we divide 3920 by 638, we get 6 and a remainder of 92.
Write down 6 as next digit of the result. 
Result so far: 28312.13166
Subtracting 3828 from 3920 leaves us with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

In conclusion, the division gives 28312.13166 with a balance of 9.2e-05.