We look at the division of 798077 by 39 
The aim is to understand the frequency of 39 in 798077.

Let's proceed to step 1:
If we divide 7 by 39, we get 0 and a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 39

Step 2:
79 divided by 39 is 2 with a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 78 away from 79, we end up with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 39

Step 3:
39 can be fit into 18 0 times, resulting in a remainder of 18.
Write down 0 as next digit of the result. 
Result so far: 20.0
Deduct 0 from 18 and we're left with 18.
Append the next digit (0) from the dividend to 18 and continue with: 180 / 39

Advancing to step 4:
If we divide 180 by 39, we get 4 and a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 204.0
If we subtract 156 from 180, we get 24.
Append the next digit (7) from the dividend to 24 and continue with: 247 / 39

Going ahead to step 5:
The number 39 fits into 247 6 times, leaving a remainder of 13.
Use 6 as the next digit of our solution. 
Result so far: 2046.0
Deduct 234 from 247 and we're left with 13.
Take the next digit (7) from the dividend and append it to 13, then repeat: 137 / 39

Let's proceed to step 6:
137 divided by 39 is 3 with a remainder of 20.
The next digit of our result is 3. 
Result so far: 20463.0
If we subtract 117 from 137, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 7:
39 goes into 200 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 20463.5
The remainder is 5 after subtracting 195 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 8:
When dividing 50 by 39, we get 1 with a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 20463.51
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.

Going ahead to step 9:
The number 39 fits into 110 2 times, leaving a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 20463.512
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.

Let's proceed to step 10:
320 divided by 39 is 8 with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 20463.5128
Deduct 312 from 320 and we're left 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.

On to step 11:
39 can be fit into 80 2 times, resulting in a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 20463.51282
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.

Moving on to step 12:
When dividing 20 by 39, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 20463.51282
Deduct 0 from 20 and we're left with 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 13:
39 can be fit into 200 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 20463.5128205
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 14:
The number 39 fits into 50 1 times, leaving a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 20463.51282051
The remainder is 11 after subtracting 39 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

The quotient of the division is 20463.51282051, and the remainder is 1.1e-08.