We look at the division of 797662 by 39 
We want to figure out the number of times 797662 can be divided by 39.

Let's proceed to step 1:
The number 39 fits into 7 0 times, leaving a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 39

Advancing to step 2:
79 divided by 39 is 2 with a remainder of 1.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 78 from 79 to get 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 39

Going ahead to step 3:
39 goes into 17 0 times with a remainder of 17.
The next digit of our result is 0. 
Result so far: 20.0
Subtract 0 from 17 to get 17.
Bring next digit (6) of the dividend behind the 17 and repeat the process: 176 / 39

Going ahead to step 4:
39 can be fit into 176 4 times, resulting in a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 204.0
If we take 156 away from 176, we end up with 20.
Take the next digit (6) from the dividend and append it to 20, then repeat: 206 / 39

Step 5:
39 can be fit into 206 5 times, resulting in a remainder of 11.
Record the quotient 5 as the next digit in the result. 
Result so far: 2045.0
Subtracting 195 from 206 leaves us with 11.
Include the next digit (2) from the dividend after 11, then repeat: 112 / 39

Moving on to step 6:
39 goes into 112 2 times with a remainder of 34.
Put 2 as the next digit of the answer. 
Result so far: 20452.0
Subtracting 78 from 112 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 7:
If we divide 340 by 39, we get 8 and a remainder of 28.
Put 8 as the next digit of the answer. 
Result so far: 20452.8
The remainder is 28 after subtracting 312 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 8:
If we divide 280 by 39, we get 7 and a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 20452.87
If we subtract 273 from 280, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 9:
If we divide 70 by 39, we get 1 and a remainder of 31.
Use 1 as the next digit of our solution. 
Result so far: 20452.871
Deduct 39 from 70 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 10:
When dividing 310 by 39, we get 7 with a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 20452.8717
If we subtract 273 from 310, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 11:
If we divide 370 by 39, we get 9 and a remainder of 19.
Put 9 as the next digit of the answer. 
Result so far: 20452.87179
If we take 351 away from 370, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 12:
If we divide 190 by 39, we get 4 and a remainder of 34.
The next digit of our result is 4. 
Result so far: 20452.871794
Deduct 156 from 190 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 13:
340 divided by 39 is 8 with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 20452.8717948
Subtract 312 from 340 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 14:
39 can be fit into 280 7 times, resulting in a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 20452.87179487
The remainder is 7 after subtracting 273 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The quotient of the division is 20452.87179487, and the remainder is 7e-09.