We divide 504701 by 39
We want to divide 504701 by 39.

Step 1:
39 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 39

Step 2:
39 goes into 50 1 times with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 39 from 50 to get 11.
Take the next digit (4) from the dividend and append it to 11, then repeat: 114 / 39

Let's proceed to step 3:
39 can be fit into 114 2 times, resulting in a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we take 78 away from 114, we end up with 36.
Append the next digit (7) from the dividend to 36 and continue with: 367 / 39

Step 4:
When dividing 367 by 39, we get 9 with a remainder of 16.
Put 9 as the next digit of the answer. 
Result so far: 129.0
If we subtract 351 from 367, we get 16.
Fetch the next digit (0) from the dividend, attach it to 16 and continue: 160 / 39

On to step 5:
160 divided by 39 is 4 with a remainder of 4.
The next digit of our result is 4. 
Result so far: 1294.0
Subtracting 156 from 160 leaves us with 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 39

Going ahead to step 6:
The number 39 fits into 41 1 times, leaving a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 12941.0
If we subtract 39 from 41, 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.

Let's proceed to step 7:
If we divide 20 by 39, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 12941.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.

Advancing to step 8:
39 goes into 200 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 12941.05
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.

On to step 9:
39 goes into 50 1 times with a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 12941.051
Subtract 39 from 50 to get 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:
110 divided by 39 is 2 with a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 12941.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:
39 goes into 320 8 times with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 12941.05128
The remainder is 8 after subtracting 312 from 320.
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 12:
80 divided by 39 is 2 with a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 12941.051282
Subtract 78 from 80 to 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:
The number 39 fits into 20 0 times, leaving a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 12941.051282
If we take 0 away from 20, we end up 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.

On to step 14:
39 can be fit into 200 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 12941.05128205
Subtracting 195 from 200 leaves us 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 final outcome is 12941.05128205, with a leftover of 5e-09.