Let's divide 367113 by 38
The aim is to understand the frequency of 38 in 367113.

On to step 1:
3 divided by 38 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 38

Going ahead to step 2:
When dividing 36 by 38, we get 0 with a remainder of 36.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 36 after subtracting 0 from 36.
Fetch the next digit (7) from the dividend, attach it to 36 and continue: 367 / 38

Going ahead to step 3:
The number 38 fits into 367 9 times, leaving a remainder of 25.
The next digit of our result is 9. 
Result so far: 9.0
Subtracting 342 from 367 leaves us with 25.
Append the next digit (1) from the dividend to 25 and continue with: 251 / 38

Advancing to step 4:
If we divide 251 by 38, we get 6 and a remainder of 23.
Write down 6 as next digit of the result. 
Result so far: 96.0
Subtract 228 from 251 to get 23.
Grab the next digit (1) from the dividend, add it to 23, then carry on: 231 / 38

Advancing to step 5:
The number 38 fits into 231 6 times, leaving a remainder of 3.
The next digit of our result is 6. 
Result so far: 966.0
Subtract 228 from 231 to get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 38

Step 6:
38 can be fit into 33 0 times, resulting in a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 9660.0
If we subtract 0 from 33, we get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 7:
38 goes into 330 8 times with a remainder of 26.
Record the quotient 8 as the next digit in the result. 
Result so far: 9660.8
If we take 304 away from 330, we end up 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.

Moving on to step 8:
When dividing 260 by 38, we get 6 with a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 9660.86
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.

Let's proceed to step 9:
38 goes into 320 8 times with a remainder of 16.
The next digit of our result is 8. 
Result so far: 9660.868
If we subtract 304 from 320, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 10:
If we divide 160 by 38, we get 4 and a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 9660.8684
Subtracting 152 from 160 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

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

Let's proceed to step 12:
If we divide 40 by 38, we get 1 and a remainder of 2.
The next digit of our result is 1. 
Result so far: 9660.868421
Subtracting 38 from 40 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 13:
When dividing 20 by 38, we get 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 9660.868421
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 14:
The number 38 fits into 200 5 times, leaving a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 9660.86842105
The remainder is 10 after subtracting 190 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

In conclusion, the division gives 9660.86842105 with a balance of 1e-08.