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

Going ahead to step 1:
When dividing 7 by 39, we get 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 39

Advancing to step 2:
79 divided by 39 is 2 with a remainder of 1.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 78 from 79 leaves us with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 39

Advancing to step 3:
39 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 20.0
Deduct 0 from 10 and we're left with 10.
Take the next digit (8) from the dividend and append it to 10, then repeat: 108 / 39

Advancing to step 4:
108 divided by 39 is 2 with a remainder of 30.
Record the quotient 2 as the next digit in the result. 
Result so far: 202.0
Subtract 78 from 108 to get 30.
Fetch the next digit (4) from the dividend, attach it to 30 and continue: 304 / 39

On to step 5:
When dividing 304 by 39, we get 7 with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 2027.0
Deduct 273 from 304 and we're left with 31.
Fetch the next digit (3) from the dividend, attach it to 31 and continue: 313 / 39

Moving on to step 6:
The number 39 fits into 313 8 times, leaving a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 20278.0
Deduct 312 from 313 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
10 divided by 39 is 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 20278.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
If we divide 100 by 39, we get 2 and a remainder of 22.
Write down 2 as next digit of the result. 
Result so far: 20278.02
If we subtract 78 from 100, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 9:
220 divided by 39 is 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 20278.025
Subtracting 195 from 220 leaves us 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.

Advancing to step 10:
39 goes into 250 6 times with a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 20278.0256
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.

On to step 11:
160 divided by 39 is 4 with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 20278.02564
Subtract 156 from 160 to get 4.
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 12:
The number 39 fits into 40 1 times, leaving a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 20278.025641
If we subtract 39 from 40, we get 1.
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 13:
The number 39 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 20278.025641
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.

Advancing to step 14:
If we divide 100 by 39, we get 2 and a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 20278.02564102
If we subtract 78 from 100, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The quotient of the division is 20278.02564102, and the remainder is 2.2e-08.