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

Advancing to step 1:
38 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 38

Let's proceed to step 2:
If we divide 31 by 38, we get 0 and a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Fetch the next digit (4) from the dividend, attach it to 31 and continue: 314 / 38

On to step 3:
When dividing 314 by 38, we get 8 with a remainder of 10.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we take 304 away from 314, we end up with 10.
Take the next digit (1) from the dividend and append it to 10, then repeat: 101 / 38

Let's proceed to step 4:
38 can be fit into 101 2 times, resulting in a remainder of 25.
Put 2 as the next digit of the answer. 
Result so far: 82.0
Subtract 76 from 101 to get 25.
Append the next digit (6) from the dividend to 25 and continue with: 256 / 38

Step 5:
256 divided by 38 is 6 with a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 826.0
Subtract 228 from 256 to get 28.
Take the next digit (5) from the dividend and append it to 28, then repeat: 285 / 38

Step 6:
38 goes into 285 7 times with a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 8267.0
Subtract 266 from 285 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 7:
38 goes into 190 5 times with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 8267.5
The remainder is 0 after subtracting 190 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
The number 38 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 8267.5
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
38 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 8267.5
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 8267.5 with a balance of 0.0.