We look at the division of 964782 by 39 
Let's see how many times 39 fits into 964782.

Advancing to step 1:
9 divided by 39 is 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (6) from the dividend and append it to 9, then repeat: 96 / 39

Step 2:
39 can be fit into 96 2 times, resulting in a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 78 away from 96, we end up with 18.
Take the next digit (4) from the dividend and append it to 18, then repeat: 184 / 39

Going ahead to step 3:
When dividing 184 by 39, we get 4 with a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 24.0
Subtracting 156 from 184 leaves us with 28.
Append the next digit (7) from the dividend to 28 and continue with: 287 / 39

Advancing to step 4:
The number 39 fits into 287 7 times, leaving a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 247.0
Subtract 273 from 287 to get 14.
Bring next digit (8) of the dividend behind the 14 and repeat the process: 148 / 39

Advancing to step 5:
When dividing 148 by 39, we get 3 with a remainder of 31.
Put 3 as the next digit of the answer. 
Result so far: 2473.0
If we take 117 away from 148, we end up with 31.
Take the next digit (2) from the dividend and append it to 31, then repeat: 312 / 39

Going ahead to step 6:
39 can be fit into 312 8 times, resulting in a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 24738.0
Subtract 312 from 312 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 7:
The number 39 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 24738.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.

Let's proceed to step 8:
The number 39 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 24738.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 24738.0 and a remainder of 0.0.