We look at the division of 631047 by 39 
We want to divide 631047 by 39.

Let's proceed to step 1:
39 goes into 6 0 times with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Include the next digit (3) from the dividend after 6, then repeat: 63 / 39

On to step 2:
When dividing 63 by 39, we get 1 with a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 39 from 63 to get 24.
Append the next digit (1) from the dividend to 24 and continue with: 241 / 39

On to step 3:
If we divide 241 by 39, we get 6 and a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
If we subtract 234 from 241, we get 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 39

Advancing to step 4:
When dividing 70 by 39, we get 1 with a remainder of 31.
The next digit of our result is 1. 
Result so far: 161.0
If we subtract 39 from 70, we get 31.
Take the next digit (4) from the dividend and append it to 31, then repeat: 314 / 39

Moving on to step 5:
The number 39 fits into 314 8 times, leaving a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 1618.0
Subtract 312 from 314 to get 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 39

Moving on to step 6:
27 divided by 39 is 0 with a remainder of 27.
Put 0 as the next digit of the answer. 
Result so far: 16180.0
Subtract 0 from 27 to get 27.
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 7:
270 divided by 39 is 6 with a remainder of 36.
Record the quotient 6 as the next digit in the result. 
Result so far: 16180.6
Subtract 234 from 270 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 8:
39 goes into 360 9 times with a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 16180.69
Subtracting 351 from 360 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 9:
The number 39 fits into 90 2 times, leaving a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 16180.692
Deduct 78 from 90 and we're left with 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 10:
39 can be fit into 120 3 times, resulting in a remainder of 3.
The next digit of our result is 3. 
Result so far: 16180.6923
If we take 117 away from 120, 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.

Step 11:
39 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 16180.6923
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 12:
300 divided by 39 is 7 with a remainder of 27.
Write down 7 as next digit of the result. 
Result so far: 16180.692307
If we take 273 away from 300, we end up 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.

Moving on to step 13:
39 can be fit into 270 6 times, resulting in a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 16180.6923076
Subtracting 234 from 270 leaves us 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 14:
When dividing 360 by 39, we get 9 with a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 16180.69230769
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.

The final outcome is 16180.69230769, with a leftover of 9e-09.