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

Step 1:
3 divided by 38 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 38

Going ahead to step 2:
38 goes into 39 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 1 after subtracting 38 from 39.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 38

Step 3:
The number 38 fits into 14 0 times, leaving a remainder of 14.
Write down 0 as next digit of the result. 
Result so far: 10.0
Deduct 0 from 14 and we're left with 14.
Fetch the next digit (3) from the dividend, attach it to 14 and continue: 143 / 38

Moving on to step 4:
143 divided by 38 is 3 with a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 103.0
If we take 114 away from 143, we end up with 29.
Grab the next digit (3) from the dividend, add it to 29, then carry on: 293 / 38

On to step 5:
When dividing 293 by 38, we get 7 with a remainder of 27.
The next digit of our result is 7. 
Result so far: 1037.0
Deduct 266 from 293 and we're left with 27.
Include the next digit (7) from the dividend after 27, then repeat: 277 / 38

Moving on to step 6:
38 can be fit into 277 7 times, resulting in a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 10377.0
If we subtract 266 from 277, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
The number 38 fits into 110 2 times, leaving a remainder of 34.
Put 2 as the next digit of the answer. 
Result so far: 10377.2
Deduct 76 from 110 and we're left 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 8:
38 can be fit into 340 8 times, resulting in a remainder of 36.
Put 8 as the next digit of the answer. 
Result so far: 10377.28
Subtracting 304 from 340 leaves us 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.

Let's proceed to step 9:
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: 10377.289
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.

Advancing to step 10:
180 divided by 38 is 4 with a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 10377.2894
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.

Step 11:
The number 38 fits into 280 7 times, leaving a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 10377.28947
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.

Moving on to step 12:
140 divided by 38 is 3 with a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 10377.289473
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.

Step 13:
If we divide 260 by 38, we get 6 and a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 10377.2894736
If we take 228 away from 260, we end up with 32.
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 14:
When dividing 320 by 38, we get 8 with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 10377.28947368
The remainder is 16 after subtracting 304 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final outcome is 10377.28947368, with a leftover of 1.6e-08.