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

Advancing to step 1:
39 goes into 7 0 times with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 39

Advancing to step 2:
39 can be fit into 78 2 times, resulting in a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 78 from 78 to get 0.
Append the next digit (9) from the dividend to 0 and continue with: 9 / 39

On to step 3:
39 goes into 9 0 times with a remainder of 9.
The next digit of our result is 0. 
Result so far: 20.0
If we take 0 away from 9, we end up with 9.
Grab the next digit (9) from the dividend, add it to 9, then carry on: 99 / 39

Let's proceed to step 4:
99 divided by 39 is 2 with a remainder of 21.
Put 2 as the next digit of the answer. 
Result so far: 202.0
If we take 78 away from 99, we end up with 21.
Include the next digit (5) from the dividend after 21, then repeat: 215 / 39

On to step 5:
If we divide 215 by 39, we get 5 and a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 2025.0
Subtracting 195 from 215 leaves us with 20.
Include the next digit (6) from the dividend after 20, then repeat: 206 / 39

On to step 6:
206 divided by 39 is 5 with a remainder of 11.
Use 5 as the next digit of our solution. 
Result so far: 20255.0
Deduct 195 from 206 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
39 goes into 110 2 times with a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 20255.2
Subtract 78 from 110 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 8:
39 can be fit into 320 8 times, resulting in a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 20255.28
The remainder is 8 after subtracting 312 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 9:
80 divided by 39 is 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 20255.282
The remainder is 2 after subtracting 78 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 10:
The number 39 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 20255.282
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
The number 39 fits into 200 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 20255.28205
If we take 195 away from 200, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 12:
39 goes into 50 1 times with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 20255.282051
Subtracting 39 from 50 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 13:
The number 39 fits into 110 2 times, leaving a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 20255.2820512
Deduct 78 from 110 and we're left 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.

Step 14:
If we divide 320 by 39, we get 8 and a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 20255.28205128
Subtracting 312 from 320 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.

The final result is 20255.28205128 with a remainder of 8e-09.