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

Moving on to step 1:
If we divide 3 by 38, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
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

Moving on to step 2:
If we divide 39 by 38, we get 1 and a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 38 away from 39, we end up with 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 38

On to step 3:
The number 38 fits into 13 0 times, leaving a remainder of 13.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Deduct 0 from 13 and we're left with 13.
Include the next digit (8) from the dividend after 13, then repeat: 138 / 38

On to step 4:
138 divided by 38 is 3 with a remainder of 24.
Write down 3 as next digit of the result. 
Result so far: 103.0
If we take 114 away from 138, we end up with 24.
Take the next digit (7) from the dividend and append it to 24, then repeat: 247 / 38

Step 5:
When dividing 247 by 38, we get 6 with a remainder of 19.
Write down 6 as next digit of the result. 
Result so far: 1036.0
If we subtract 228 from 247, we 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.

Let's proceed to step 6:
When dividing 190 by 38, we get 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 1036.5
Subtracting 190 from 190 leaves us 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.

Advancing to step 7:
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: 1036.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 8:
38 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1036.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 1036.5 and a remainder of 0.0.