We look at the division of 698389 by 38 
The aim is to understand the frequency of 38 in 698389.

Going ahead to step 1:
The number 38 fits into 6 0 times, leaving a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (9) from the dividend, add it to 6, then carry on: 69 / 38

On to step 2:
38 can be fit into 69 1 times, resulting in a remainder of 31.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 38 away from 69, we end up with 31.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 38

On to step 3:
When dividing 318 by 38, we get 8 with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 18.0
If we take 304 away from 318, we end up with 14.
Fetch the next digit (3) from the dividend, attach it to 14 and continue: 143 / 38

Going ahead to step 4:
The number 38 fits into 143 3 times, leaving a remainder of 29.
The number 3 becomes the next digit in our result. 
Result so far: 183.0
Subtracting 114 from 143 leaves us with 29.
Fetch the next digit (8) from the dividend, attach it to 29 and continue: 298 / 38

Going ahead to step 5:
When dividing 298 by 38, we get 7 with a remainder of 32.
Use 7 as the next digit of our solution. 
Result so far: 1837.0
Subtract 266 from 298 to get 32.
Fetch the next digit (9) from the dividend, attach it to 32 and continue: 329 / 38

Going ahead to step 6:
38 can be fit into 329 8 times, resulting in a remainder of 25.
The next digit of our result is 8. 
Result so far: 18378.0
The remainder is 25 after subtracting 304 from 329.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 7:
38 can be fit into 250 6 times, resulting in a remainder of 22.
Write down 6 as next digit of the result. 
Result so far: 18378.6
Deduct 228 from 250 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 8:
220 divided by 38 is 5 with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 18378.65
Subtracting 190 from 220 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 9:
If we divide 300 by 38, we get 7 and a remainder of 34.
Put 7 as the next digit of the answer. 
Result so far: 18378.657
The remainder is 34 after subtracting 266 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 10:
340 divided by 38 is 8 with a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 18378.6578
Subtract 304 from 340 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 11:
38 can be fit into 360 9 times, resulting in a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 18378.65789
If we take 342 away from 360, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 12:
180 divided by 38 is 4 with a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 18378.657894
The remainder is 28 after subtracting 152 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 13:
When dividing 280 by 38, we get 7 with a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 18378.6578947
Deduct 266 from 280 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 14:
38 goes into 140 3 times with a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 18378.65789473
Subtracting 114 from 140 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final result is 18378.65789473 with a remainder of 2.6e-08.