We divide 501379 by 39
Let's see how many times 39 fits into 501379.

Moving on to step 1:
If we divide 5 by 39, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 39

Let's proceed to step 2:
The number 39 fits into 50 1 times, leaving a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 11 after subtracting 39 from 50.
Append the next digit (1) from the dividend to 11 and continue with: 111 / 39

Moving on to step 3:
39 can be fit into 111 2 times, resulting in a remainder of 33.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we subtract 78 from 111, we get 33.
Take the next digit (3) from the dividend and append it to 33, then repeat: 333 / 39

On to step 4:
If we divide 333 by 39, we get 8 and a remainder of 21.
The next digit of our result is 8. 
Result so far: 128.0
The remainder is 21 after subtracting 312 from 333.
Append the next digit (7) from the dividend to 21 and continue with: 217 / 39

On to step 5:
217 divided by 39 is 5 with a remainder of 22.
The number 5 becomes the next digit in our result. 
Result so far: 1285.0
Deduct 195 from 217 and we're left with 22.
Grab the next digit (9) from the dividend, add it to 22, then carry on: 229 / 39

Moving on to step 6:
39 goes into 229 5 times with a remainder of 34.
Write down 5 as next digit of the result. 
Result so far: 12855.0
Subtract 195 from 229 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 7:
If we divide 340 by 39, we get 8 and a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 12855.8
If we subtract 312 from 340, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 8:
The number 39 fits into 280 7 times, leaving a remainder of 7.
Put 7 as the next digit of the answer. 
Result so far: 12855.87
Subtract 273 from 280 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 9:
The number 39 fits into 70 1 times, leaving a remainder of 31.
Put 1 as the next digit of the answer. 
Result so far: 12855.871
Subtracting 39 from 70 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 10:
39 can be fit into 310 7 times, resulting in a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 12855.8717
Subtract 273 from 310 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 11:
If we divide 370 by 39, we get 9 and a remainder of 19.
The next digit of our result is 9. 
Result so far: 12855.87179
Deduct 351 from 370 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 12:
The number 39 fits into 190 4 times, leaving a remainder of 34.
Record the quotient 4 as the next digit in the result. 
Result so far: 12855.871794
Deduct 156 from 190 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 13:
340 divided by 39 is 8 with a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 12855.8717948
If we take 312 away from 340, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

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

The final outcome is 12855.87179487, with a leftover of 7e-09.