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

Step 1:
If we divide 7 by 38, we get 0 and a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 38

Step 2:
70 divided by 38 is 1 with a remainder of 32.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 38 from 70 and we're left with 32.
Append the next digit (4) from the dividend to 32 and continue with: 324 / 38

Going ahead to step 3:
38 can be fit into 324 8 times, resulting in a remainder of 20.
Write down 8 as next digit of the result. 
Result so far: 18.0
The remainder is 20 after subtracting 304 from 324.
Append the next digit (1) from the dividend to 20 and continue with: 201 / 38

Step 4:
The number 38 fits into 201 5 times, leaving a remainder of 11.
Use 5 as the next digit of our solution. 
Result so far: 185.0
If we subtract 190 from 201, we get 11.
Grab the next digit (7) from the dividend, add it to 11, then carry on: 117 / 38

Moving on to step 5:
If we divide 117 by 38, we get 3 and a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 1853.0
Subtract 114 from 117 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 38

Advancing to step 6:
When dividing 31 by 38, we get 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 18530.0
If we take 0 away from 31, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 7:
If we divide 310 by 38, we get 8 and a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 18530.8
If we take 304 away from 310, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
38 can be fit into 60 1 times, resulting in a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 18530.81
If we take 38 away from 60, we end up 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.

Going ahead to step 9:
If we divide 220 by 38, we get 5 and a remainder of 30.
The next digit of our result is 5. 
Result so far: 18530.815
Deduct 190 from 220 and we're left 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.

Step 10:
If we divide 300 by 38, we get 7 and a remainder of 34.
Use 7 as the next digit of our solution. 
Result so far: 18530.8157
Subtracting 266 from 300 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 11:
If we divide 340 by 38, we get 8 and a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 18530.81578
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 12:
The number 38 fits into 360 9 times, leaving a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 18530.815789
The remainder is 18 after subtracting 342 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 13:
If we divide 180 by 38, we get 4 and a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 18530.8157894
If we take 152 away from 180, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 14:
If we divide 280 by 38, we get 7 and a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 18530.81578947
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.

The quotient of the division is 18530.81578947, and the remainder is 1.4e-08.