We're dividing 501545 by 39 
Let's see how many times 39 fits into 501545.

Advancing to step 1:
The number 39 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 39

Let's proceed to step 2:
When dividing 50 by 39, we get 1 with a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 11 after subtracting 39 from 50.
Include the next digit (1) from the dividend after 11, then repeat: 111 / 39

On to step 3:
39 can be fit into 111 2 times, resulting in a remainder of 33.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtract 78 from 111 to get 33.
Append the next digit (5) from the dividend to 33 and continue with: 335 / 39

Let's proceed to step 4:
39 can be fit into 335 8 times, resulting in a remainder of 23.
The next digit of our result is 8. 
Result so far: 128.0
If we take 312 away from 335, we end up with 23.
Bring next digit (4) of the dividend behind the 23 and repeat the process: 234 / 39

On to step 5:
If we divide 234 by 39, we get 6 and a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 1286.0
If we subtract 234 from 234, we get 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 39

Going ahead to step 6:
The number 39 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 12860.0
The remainder is 5 after subtracting 0 from 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
The number 39 fits into 50 1 times, leaving a remainder of 11.
The next digit of our result is 1. 
Result so far: 12860.1
If we subtract 39 from 50, we 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 8:
39 can be fit into 110 2 times, resulting in a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 12860.12
If we take 78 away from 110, we end up 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.

On to step 9:
39 goes into 320 8 times with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 12860.128
Subtract 312 from 320 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
80 divided by 39 is 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 12860.1282
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.

On to step 11:
The number 39 fits into 20 0 times, leaving a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 12860.1282
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.

Advancing to step 12:
The number 39 fits into 200 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 12860.128205
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.

Advancing to step 13:
The number 39 fits into 50 1 times, leaving a remainder of 11.
The next digit of our result is 1. 
Result so far: 12860.1282051
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.

Moving on to step 14:
When dividing 110 by 39, we get 2 with a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 12860.12820512
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.

After the division, we end up with 12860.12820512 and a remainder of 3.2e-08.