We look at the division of 500358 by 39 
We're looking to find how many times 39 goes into 500358.

On to step 1:
39 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 39

Let's proceed 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
The remainder is 11 after subtracting 39 from 50.
Append the next digit (0) from the dividend to 11 and continue with: 110 / 39

On to step 3:
110 divided by 39 is 2 with a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we subtract 78 from 110, we get 32.
Include the next digit (3) from the dividend after 32, then repeat: 323 / 39

Going ahead to step 4:
39 goes into 323 8 times with a remainder of 11.
Record the quotient 8 as the next digit in the result. 
Result so far: 128.0
If we subtract 312 from 323, we get 11.
Bring next digit (5) of the dividend behind the 11 and repeat the process: 115 / 39

Moving on to step 5:
When dividing 115 by 39, we get 2 with a remainder of 37.
The number 2 becomes the next digit in our result. 
Result so far: 1282.0
Subtracting 78 from 115 leaves us with 37.
Append the next digit (8) from the dividend to 37 and continue with: 378 / 39

On to step 6:
378 divided by 39 is 9 with a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 12829.0
If we subtract 351 from 378, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 7:
The number 39 fits into 270 6 times, leaving a remainder of 36.
Record the quotient 6 as the next digit in the result. 
Result so far: 12829.6
Subtracting 234 from 270 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 8:
39 goes into 360 9 times with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 12829.69
If we take 351 away from 360, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 9:
The number 39 fits into 90 2 times, leaving a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 12829.692
If we subtract 78 from 90, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 10:
The number 39 fits into 120 3 times, leaving a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 12829.6923
Subtracting 117 from 120 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 11:
30 divided by 39 is 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 12829.6923
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 12:
When dividing 300 by 39, we get 7 with a remainder of 27.
Write down 7 as next digit of the result. 
Result so far: 12829.692307
Subtract 273 from 300 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 13:
39 can be fit into 270 6 times, resulting in a remainder of 36.
Record the quotient 6 as the next digit in the result. 
Result so far: 12829.6923076
The remainder is 36 after subtracting 234 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 14:
If we divide 360 by 39, we get 9 and a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 12829.69230769
If we take 351 away from 360, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The quotient of the division is 12829.69230769, and the remainder is 9e-09.