We're dividing 238393 by 39 
The aim is to understand the frequency of 39 in 238393.

On to step 1:
When dividing 2 by 39, we get 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 39

On to step 2:
The number 39 fits into 23 0 times, leaving a remainder of 23.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 23 and we're left with 23.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 39

Let's proceed to step 3:
The number 39 fits into 238 6 times, leaving a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtracting 234 from 238 leaves us with 4.
Append the next digit (3) from the dividend to 4 and continue with: 43 / 39

Let's proceed to step 4:
The number 39 fits into 43 1 times, leaving a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 61.0
Subtracting 39 from 43 leaves us with 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 39

Moving on to step 5:
49 divided by 39 is 1 with a remainder of 10.
Record the quotient 1 as the next digit in the result. 
Result so far: 611.0
If we take 39 away from 49, we end up with 10.
Grab the next digit (3) from the dividend, add it to 10, then carry on: 103 / 39

Advancing to step 6:
When dividing 103 by 39, we get 2 with a remainder of 25.
Write down 2 as next digit of the result. 
Result so far: 6112.0
If we take 78 away from 103, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 7:
250 divided by 39 is 6 with a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 6112.6
The remainder is 16 after subtracting 234 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 8:
39 goes into 160 4 times with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 6112.64
The remainder is 4 after subtracting 156 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
When dividing 40 by 39, we get 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 6112.641
The remainder is 1 after subtracting 39 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 10:
39 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 6112.641
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 11:
100 divided by 39 is 2 with a remainder of 22.
Use 2 as the next digit of our solution. 
Result so far: 6112.64102
The remainder is 22 after subtracting 78 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 12:
If we divide 220 by 39, we get 5 and a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 6112.641025
If we subtract 195 from 220, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 13:
When dividing 250 by 39, we get 6 with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 6112.6410256
Deduct 234 from 250 and we're left with 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 14:
If we divide 160 by 39, we get 4 and a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 6112.64102564
Deduct 156 from 160 and we're left 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.

The final result is 6112.64102564 with a remainder of 4e-09.