318789 ÷ 39 
We want to divide 318789 by 39.

On to step 1:
39 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 39

Going ahead to step 2:
When dividing 31 by 39, we get 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Take the next digit (8) from the dividend and append it to 31, then repeat: 318 / 39

Going ahead to step 3:
318 divided by 39 is 8 with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 8.0
If we take 312 away from 318, we end up with 6.
Append the next digit (7) from the dividend to 6 and continue with: 67 / 39

On to step 4:
39 goes into 67 1 times with a remainder of 28.
Put 1 as the next digit of the answer. 
Result so far: 81.0
If we subtract 39 from 67, we get 28.
Bring next digit (8) of the dividend behind the 28 and repeat the process: 288 / 39

Let's proceed to step 5:
If we divide 288 by 39, we get 7 and a remainder of 15.
Put 7 as the next digit of the answer. 
Result so far: 817.0
If we subtract 273 from 288, we get 15.
Fetch the next digit (9) from the dividend, attach it to 15 and continue: 159 / 39

On to step 6:
When dividing 159 by 39, we get 4 with a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 8174.0
If we take 156 away from 159, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
If we divide 30 by 39, we get 0 and a remainder of 30.
The next digit of our result is 0. 
Result so far: 8174.0
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
When dividing 300 by 39, we get 7 with a remainder of 27.
The number 7 becomes the next digit in our result. 
Result so far: 8174.07
The remainder is 27 after subtracting 273 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 9:
270 divided by 39 is 6 with a remainder of 36.
Use 6 as the next digit of our solution. 
Result so far: 8174.076
If we take 234 away from 270, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 10:
The number 39 fits into 360 9 times, leaving a remainder of 9.
Use 9 as the next digit of our solution. 
Result so far: 8174.0769
Subtract 351 from 360 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 11:
If we divide 90 by 39, we get 2 and a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 8174.07692
Subtract 78 from 90 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 12:
The number 39 fits into 120 3 times, leaving a remainder of 3.
The next digit of our result is 3. 
Result so far: 8174.076923
Subtracting 117 from 120 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 13:
39 goes into 30 0 times with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 8174.076923
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 14:
If we divide 300 by 39, we get 7 and a remainder of 27.
Write down 7 as next digit of the result. 
Result so far: 8174.07692307
Deduct 273 from 300 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

The quotient of the division is 8174.07692307, and the remainder is 2.7e-08.