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

On to step 1:
38 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 38

Advancing to step 2:
The number 38 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Grab the next digit (7) from the dividend, add it to 31, then carry on: 317 / 38

Step 3:
If we divide 317 by 38, we get 8 and a remainder of 13.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtract 304 from 317 to get 13.
Append the next digit (3) from the dividend to 13 and continue with: 133 / 38

Going ahead to step 4:
38 can be fit into 133 3 times, resulting in a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 83.0
Deduct 114 from 133 and we're left with 19.
Take the next digit (4) from the dividend and append it to 19, then repeat: 194 / 38

Step 5:
194 divided by 38 is 5 with a remainder of 4.
The next digit of our result is 5. 
Result so far: 835.0
The remainder is 4 after subtracting 190 from 194.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 38

On to step 6:
When dividing 41 by 38, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 8351.0
The remainder is 3 after subtracting 38 from 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
30 divided by 38 is 0 with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 8351.0
If we subtract 0 from 30, 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 8:
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: 8351.07
If we subtract 266 from 300, we get 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 9:
When dividing 340 by 38, we get 8 with a remainder of 36.
Put 8 as the next digit of the answer. 
Result so far: 8351.078
Deduct 304 from 340 and we're left with 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 10:
The number 38 fits into 360 9 times, leaving a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 8351.0789
Deduct 342 from 360 and we're left 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.

On to step 11:
The number 38 fits into 180 4 times, leaving a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 8351.07894
Subtract 152 from 180 to get 28.
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 12:
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: 8351.078947
Subtracting 266 from 280 leaves us 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.

Going ahead to step 13:
When dividing 140 by 38, we get 3 with a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 8351.0789473
If we subtract 114 from 140, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 14:
When dividing 260 by 38, we get 6 with a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 8351.07894736
If we subtract 228 from 260, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

In conclusion, the division gives 8351.07894736 with a balance of 3.2e-08.