Let's divide 318437 by 39
Our goal is to divide 318437 by 39.

Advancing to step 1:
If we divide 3 by 39, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 39

Advancing to step 2:
The number 39 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Fetch the next digit (8) from the dividend, attach it to 31 and continue: 318 / 39

Let's proceed to step 3:
39 can be fit into 318 8 times, resulting in 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.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 39

Going ahead to step 4:
The number 39 fits into 64 1 times, leaving a remainder of 25.
Put 1 as the next digit of the answer. 
Result so far: 81.0
Deduct 39 from 64 and we're left with 25.
Fetch the next digit (3) from the dividend, attach it to 25 and continue: 253 / 39

Advancing to step 5:
253 divided by 39 is 6 with a remainder of 19.
The next digit of our result is 6. 
Result so far: 816.0
If we subtract 234 from 253, we get 19.
Bring next digit (7) of the dividend behind the 19 and repeat the process: 197 / 39

On to step 6:
39 goes into 197 5 times with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 8165.0
If we subtract 195 from 197, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
39 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 8165.0
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
39 can be fit into 200 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 8165.05
The remainder is 5 after subtracting 195 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 9:
When dividing 50 by 39, we get 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 8165.051
Deduct 39 from 50 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 10:
39 goes into 110 2 times with a remainder of 32.
The next digit of our result is 2. 
Result so far: 8165.0512
Subtracting 78 from 110 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 11:
When dividing 320 by 39, we get 8 with a remainder of 8.
The next digit of our result is 8. 
Result so far: 8165.05128
If we subtract 312 from 320, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 12:
80 divided by 39 is 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 8165.051282
If we subtract 78 from 80, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 13:
39 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 8165.051282
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 14:
200 divided by 39 is 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 8165.05128205
Deduct 195 from 200 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The quotient of the division is 8165.05128205, and the remainder is 5e-09.