We divide 394395 by 39
The aim is to understand the frequency of 39 in 394395.

On to step 1:
The number 39 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 39

Let's proceed to step 2:
39 goes into 39 1 times with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 39 from 39 leaves us with 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 39

Step 3:
When dividing 4 by 39, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Deduct 0 from 4 and we're left with 4.
Include the next digit (3) from the dividend after 4, then repeat: 43 / 39

Let's proceed to step 4:
43 divided by 39 is 1 with a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 101.0
The remainder is 4 after subtracting 39 from 43.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 39

Going ahead to step 5:
When dividing 49 by 39, we get 1 with a remainder of 10.
The number 1 becomes the next digit in our result. 
Result so far: 1011.0
If we take 39 away from 49, we end up with 10.
Append the next digit (5) from the dividend to 10 and continue with: 105 / 39

Advancing to step 6:
The number 39 fits into 105 2 times, leaving a remainder of 27.
The next digit of our result is 2. 
Result so far: 10112.0
If we subtract 78 from 105, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 7:
If we divide 270 by 39, we get 6 and a remainder of 36.
The next digit of our result is 6. 
Result so far: 10112.6
Subtracting 234 from 270 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 8:
If we divide 360 by 39, we get 9 and a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 10112.69
If we take 351 away from 360, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 9:
39 can be fit into 90 2 times, resulting in a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 10112.692
Deduct 78 from 90 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 10:
The number 39 fits into 120 3 times, leaving a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 10112.6923
If we subtract 117 from 120, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 11:
30 divided by 39 is 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 10112.6923
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 12:
The number 39 fits into 300 7 times, leaving a remainder of 27.
Use 7 as the next digit of our solution. 
Result so far: 10112.692307
Deduct 273 from 300 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 13:
When dividing 270 by 39, we get 6 with a remainder of 36.
The next digit of our result is 6. 
Result so far: 10112.6923076
Deduct 234 from 270 and we're left 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.

Going ahead to step 14:
39 can be fit into 360 9 times, resulting in a remainder of 9.
Use 9 as the next digit of our solution. 
Result so far: 10112.69230769
If we subtract 351 from 360, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The quotient of the division is 10112.69230769, and the remainder is 9e-09.