We're dividing 501337 by 39 
We're looking to find how many times 39 goes into 501337.

On 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
The remainder is 5 after subtracting 0 from 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 39

Moving on to step 2:
When dividing 50 by 39, we get 1 with a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 39 from 50 to get 11.
Append the next digit (1) from the dividend to 11 and continue with: 111 / 39

Advancing to step 3:
When dividing 111 by 39, we get 2 with a remainder of 33.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtracting 78 from 111 leaves us with 33.
Bring next digit (3) of the dividend behind the 33 and repeat the process: 333 / 39

Advancing to step 4:
39 goes into 333 8 times with a remainder of 21.
Use 8 as the next digit of our solution. 
Result so far: 128.0
If we take 312 away from 333, we end up with 21.
Include the next digit (3) from the dividend after 21, then repeat: 213 / 39

On to step 5:
213 divided by 39 is 5 with a remainder of 18.
The next digit of our result is 5. 
Result so far: 1285.0
The remainder is 18 after subtracting 195 from 213.
Include the next digit (7) from the dividend after 18, then repeat: 187 / 39

Moving on to step 6:
When dividing 187 by 39, we get 4 with a remainder of 31.
The next digit of our result is 4. 
Result so far: 12854.0
Subtracting 156 from 187 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.

Advancing to step 7:
The number 39 fits into 310 7 times, leaving a remainder of 37.
Write down 7 as next digit of the result. 
Result so far: 12854.7
Subtracting 273 from 310 leaves us with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 8:
39 can be fit into 370 9 times, resulting in a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 12854.79
Subtracting 351 from 370 leaves us 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.

On to step 9:
When dividing 190 by 39, we get 4 with a remainder of 34.
Use 4 as the next digit of our solution. 
Result so far: 12854.794
The remainder is 34 after subtracting 156 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 10:
39 goes into 340 8 times with a remainder of 28.
Put 8 as the next digit of the answer. 
Result so far: 12854.7948
Deduct 312 from 340 and we're left 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.

On to step 11:
39 goes into 280 7 times with a remainder of 7.
The next digit of our result is 7. 
Result so far: 12854.79487
The remainder is 7 after subtracting 273 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 12:
70 divided by 39 is 1 with a remainder of 31.
Record the quotient 1 as the next digit in the result. 
Result so far: 12854.794871
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.

Let's proceed to step 13:
39 can be fit into 310 7 times, resulting in a remainder of 37.
The number 7 becomes the next digit in our result. 
Result so far: 12854.7948717
Deduct 273 from 310 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 14:
If we divide 370 by 39, we get 9 and a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 12854.79487179
If we subtract 351 from 370, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The quotient of the division is 12854.79487179, and the remainder is 1.9e-08.