We look at the division of 786396 by 39 
We're looking to find how many times 39 goes into 786396.

Going ahead to step 1:
If we divide 7 by 39, we get 0 and 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 (8) from the dividend and append it to 7, then repeat: 78 / 39

Advancing to step 2:
When dividing 78 by 39, we get 2 with a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 78 away from 78, we end up with 0.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 39

Moving on to step 3:
39 can be fit into 6 0 times, resulting in a remainder of 6.
The next digit of our result is 0. 
Result so far: 20.0
The remainder is 6 after subtracting 0 from 6.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 39

Step 4:
If we divide 63 by 39, we get 1 and a remainder of 24.
The next digit of our result is 1. 
Result so far: 201.0
If we subtract 39 from 63, we get 24.
Bring next digit (9) of the dividend behind the 24 and repeat the process: 249 / 39

Let's proceed to step 5:
If we divide 249 by 39, we get 6 and a remainder of 15.
Use 6 as the next digit of our solution. 
Result so far: 2016.0
Subtract 234 from 249 to get 15.
Fetch the next digit (6) from the dividend, attach it to 15 and continue: 156 / 39

Moving on to step 6:
39 can be fit into 156 4 times, resulting in a remainder of 0.
The next digit of our result is 4. 
Result so far: 20164.0
Subtracting 156 from 156 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 7:
39 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 20164.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

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

The quotient of the division is 20164.0, and the remainder is 0.0.