We divide 316913 by 38
The aim is to understand the frequency of 38 in 316913.

Going ahead to step 1:
If we divide 3 by 38, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 38

On to step 2:
The number 38 fits into 31 0 times, leaving a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (6) from the dividend, add it to 31, then carry on: 316 / 38

Step 3:
If we divide 316 by 38, we get 8 and a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
If we take 304 away from 316, we end up with 12.
Append the next digit (9) from the dividend to 12 and continue with: 129 / 38

Going ahead to step 4:
If we divide 129 by 38, we get 3 and a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 83.0
If we subtract 114 from 129, we get 15.
Append the next digit (1) from the dividend to 15 and continue with: 151 / 38

Moving on to step 5:
If we divide 151 by 38, we get 3 and a remainder of 37.
Write down 3 as next digit of the result. 
Result so far: 833.0
Deduct 114 from 151 and we're left with 37.
Take the next digit (3) from the dividend and append it to 37, then repeat: 373 / 38

Advancing to step 6:
38 goes into 373 9 times with a remainder of 31.
Use 9 as the next digit of our solution. 
Result so far: 8339.0
Subtracting 342 from 373 leaves us 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.

Moving on to step 7:
310 divided by 38 is 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 8339.8
The remainder is 6 after subtracting 304 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 8:
60 divided by 38 is 1 with a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 8339.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.

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

On to step 10:
300 divided by 38 is 7 with a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 8339.8157
If we take 266 away from 300, we end up 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.

Going ahead to step 11:
When dividing 340 by 38, we get 8 with a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 8339.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.

Moving on to step 12:
360 divided by 38 is 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 8339.815789
Subtract 342 from 360 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 13:
38 can be fit into 180 4 times, resulting in a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 8339.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.

On to step 14:
38 can be fit into 280 7 times, resulting in a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 8339.81578947
The remainder is 14 after subtracting 266 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final outcome is 8339.81578947, with a leftover of 1.4e-08.