501770 ÷ 39 
Our goal is to divide 501770 by 39.

On to step 1:
When dividing 5 by 39, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 39

Step 2:
The number 39 fits into 50 1 times, leaving a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
If we take 39 away from 50, we end up with 11.
Include the next digit (1) from the dividend after 11, then repeat: 111 / 39

Moving on to step 3:
39 goes into 111 2 times with a remainder of 33.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
The remainder is 33 after subtracting 78 from 111.
Append the next digit (7) from the dividend to 33 and continue with: 337 / 39

Let's proceed to step 4:
39 can be fit into 337 8 times, resulting in a remainder of 25.
Put 8 as the next digit of the answer. 
Result so far: 128.0
Subtract 312 from 337 to get 25.
Append the next digit (7) from the dividend to 25 and continue with: 257 / 39

Let's proceed to step 5:
39 goes into 257 6 times with a remainder of 23.
Put 6 as the next digit of the answer. 
Result so far: 1286.0
Subtract 234 from 257 to get 23.
Take the next digit (0) from the dividend and append it to 23, then repeat: 230 / 39

Moving on to step 6:
39 goes into 230 5 times with a remainder of 35.
The next digit of our result is 5. 
Result so far: 12865.0
Subtracting 195 from 230 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 7:
The number 39 fits into 350 8 times, leaving a remainder of 38.
The number 8 becomes the next digit in our result. 
Result so far: 12865.8
Subtracting 312 from 350 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 8:
39 goes into 380 9 times with a remainder of 29.
Put 9 as the next digit of the answer. 
Result so far: 12865.89
If we subtract 351 from 380, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 9:
When dividing 290 by 39, we get 7 with a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 12865.897
If we subtract 273 from 290, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 10:
If we divide 170 by 39, we get 4 and a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 12865.8974
The remainder is 14 after subtracting 156 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 11:
The number 39 fits into 140 3 times, leaving a remainder of 23.
Put 3 as the next digit of the answer. 
Result so far: 12865.89743
If we subtract 117 from 140, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 12:
39 goes into 230 5 times with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 12865.897435
The remainder is 35 after subtracting 195 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 13:
39 goes into 350 8 times with a remainder of 38.
The number 8 becomes the next digit in our result. 
Result so far: 12865.8974358
If we take 312 away from 350, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 14:
39 goes into 380 9 times with a remainder of 29.
The next digit of our result is 9. 
Result so far: 12865.89743589
If we subtract 351 from 380, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

In conclusion, the division gives 12865.89743589 with a balance of 2.9e-08.