Let's divide 394995 by 39
The aim is to understand the frequency of 39 in 394995.

Step 1:
3 divided by 39 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 39

Going ahead to step 2:
When dividing 39 by 39, we get 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 39 from 39 leaves us with 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 39

Step 3:
4 divided by 39 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 10.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 39

Advancing to step 4:
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: 101.0
Subtract 39 from 49 to get 10.
Bring next digit (9) of the dividend behind the 10 and repeat the process: 109 / 39

Step 5:
39 can be fit into 109 2 times, resulting in a remainder of 31.
Put 2 as the next digit of the answer. 
Result so far: 1012.0
Subtracting 78 from 109 leaves us with 31.
Fetch the next digit (5) from the dividend, attach it to 31 and continue: 315 / 39

Let's proceed to step 6:
315 divided by 39 is 8 with a remainder of 3.
The next digit of our result is 8. 
Result so far: 10128.0
Subtract 312 from 315 to 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.

Let's proceed to step 7:
The number 39 fits into 30 0 times, leaving a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 10128.0
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
39 goes into 300 7 times with a remainder of 27.
The number 7 becomes the next digit in our result. 
Result so far: 10128.07
If we subtract 273 from 300, 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.

Let's proceed to step 9:
39 goes into 270 6 times with a remainder of 36.
Write down 6 as next digit of the result. 
Result so far: 10128.076
Subtract 234 from 270 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 10:
When dividing 360 by 39, we get 9 with a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 10128.0769
The remainder is 9 after subtracting 351 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 11:
If we divide 90 by 39, we get 2 and a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 10128.07692
If we take 78 away from 90, we end up 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.

Step 12:
120 divided by 39 is 3 with a remainder of 3.
The next digit of our result is 3. 
Result so far: 10128.076923
Deduct 117 from 120 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 13:
39 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 10128.076923
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 14:
When dividing 300 by 39, we get 7 with a remainder of 27.
The next digit of our result is 7. 
Result so far: 10128.07692307
If we subtract 273 from 300, 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.

After the division, we end up with 10128.07692307 and a remainder of 2.7e-08.