We're dividing 640098 by 38 
The aim is to understand the frequency of 38 in 640098.

Let's proceed to step 1:
6 divided by 38 is 0 with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Bring next digit (4) of the dividend behind the 6 and repeat the process: 64 / 38

On to step 2:
64 divided by 38 is 1 with a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 38 from 64 to get 26.
Bring next digit (0) of the dividend behind the 26 and repeat the process: 260 / 38

Moving on to step 3:
If we divide 260 by 38, we get 6 and a remainder of 32.
The next digit of our result is 6. 
Result so far: 16.0
If we subtract 228 from 260, we get 32.
Include the next digit (0) from the dividend after 32, then repeat: 320 / 38

Advancing to step 4:
38 can be fit into 320 8 times, resulting in a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 168.0
Deduct 304 from 320 and we're left with 16.
Append the next digit (9) from the dividend to 16 and continue with: 169 / 38

On to step 5:
The number 38 fits into 169 4 times, leaving a remainder of 17.
Record the quotient 4 as the next digit in the result. 
Result so far: 1684.0
Subtract 152 from 169 to get 17.
Take the next digit (8) from the dividend and append it to 17, then repeat: 178 / 38

Let's proceed to step 6:
38 goes into 178 4 times with a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 16844.0
The remainder is 26 after subtracting 152 from 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 7:
38 can be fit into 260 6 times, resulting in a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 16844.6
The remainder is 32 after subtracting 228 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 8:
38 can be fit into 320 8 times, resulting in a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 16844.68
Subtract 304 from 320 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
160 divided by 38 is 4 with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 16844.684
Subtract 152 from 160 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 10:
When dividing 80 by 38, we get 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 16844.6842
Subtract 76 from 80 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 11:
The number 38 fits into 40 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 16844.68421
Subtracting 38 from 40 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 12:
38 goes into 20 0 times with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 16844.68421
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 13:
The number 38 fits into 200 5 times, leaving a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 16844.6842105
Subtracting 190 from 200 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 14:
If we divide 100 by 38, we get 2 and a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 16844.68421052
Subtract 76 from 100 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final outcome is 16844.68421052, with a leftover of 2.4e-08.