We're dividing 642947 by 39 
Our goal is to divide 642947 by 39.

On to step 1:
6 divided by 39 is 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 39

Moving on to step 2:
If we divide 64 by 39, we get 1 and a remainder of 25.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 39 from 64 to get 25.
Fetch the next digit (2) from the dividend, attach it to 25 and continue: 252 / 39

Moving on to step 3:
39 can be fit into 252 6 times, resulting in a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 16.0
If we take 234 away from 252, we end up with 18.
Include the next digit (9) from the dividend after 18, then repeat: 189 / 39

Moving on to step 4:
39 can be fit into 189 4 times, resulting in a remainder of 33.
Use 4 as the next digit of our solution. 
Result so far: 164.0
Deduct 156 from 189 and we're left with 33.
Grab the next digit (4) from the dividend, add it to 33, then carry on: 334 / 39

On to step 5:
39 goes into 334 8 times with a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 1648.0
Subtract 312 from 334 to get 22.
Include the next digit (7) from the dividend after 22, then repeat: 227 / 39

Let's proceed to step 6:
227 divided by 39 is 5 with a remainder of 32.
Record the quotient 5 as the next digit in the result. 
Result so far: 16485.0
Deduct 195 from 227 and we're left 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 7:
When dividing 320 by 39, we get 8 with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 16485.8
Subtracting 312 from 320 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
If we divide 80 by 39, we get 2 and a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 16485.82
If we take 78 away from 80, we end up with 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 9:
When dividing 20 by 39, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 16485.82
Deduct 0 from 20 and we're left 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.

Going ahead to step 10:
When dividing 200 by 39, we get 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 16485.8205
Subtract 195 from 200 to get 5.
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 11:
50 divided by 39 is 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 16485.82051
If we take 39 away from 50, we end up 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.

On to step 12:
If we divide 110 by 39, we get 2 and a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 16485.820512
If we subtract 78 from 110, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 13:
320 divided by 39 is 8 with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 16485.8205128
Deduct 312 from 320 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 14:
If we divide 80 by 39, we get 2 and a remainder of 2.
The next digit of our result is 2. 
Result so far: 16485.82051282
Subtracting 78 from 80 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 16485.82051282 and a remainder of 2e-09.