Let's divide 500589 by 39
Our goal is to divide 500589 by 39.

On to step 1:
If we divide 5 by 39, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 39

Step 2:
39 can be fit into 50 1 times, resulting in 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.
Take the next digit (0) from the dividend and append it to 11, then repeat: 110 / 39

Let's proceed to step 3:
39 goes into 110 2 times with a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtracting 78 from 110 leaves us with 32.
Grab the next digit (5) from the dividend, add it to 32, then carry on: 325 / 39

Advancing to step 4:
39 goes into 325 8 times with a remainder of 13.
Put 8 as the next digit of the answer. 
Result so far: 128.0
Deduct 312 from 325 and we're left with 13.
Include the next digit (8) from the dividend after 13, then repeat: 138 / 39

Let's proceed to step 5:
The number 39 fits into 138 3 times, leaving a remainder of 21.
Record the quotient 3 as the next digit in the result. 
Result so far: 1283.0
The remainder is 21 after subtracting 117 from 138.
Take the next digit (9) from the dividend and append it to 21, then repeat: 219 / 39

Advancing to step 6:
The number 39 fits into 219 5 times, leaving a remainder of 24.
The next digit of our result is 5. 
Result so far: 12835.0
If we take 195 away from 219, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 7:
When dividing 240 by 39, we get 6 with a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 12835.6
If we subtract 234 from 240, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 8:
39 can be fit into 60 1 times, resulting in a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 12835.61
Deduct 39 from 60 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 9:
39 goes into 210 5 times with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 12835.615
The remainder is 15 after subtracting 195 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 10:
If we divide 150 by 39, we get 3 and a remainder of 33.
The next digit of our result is 3. 
Result so far: 12835.6153
Deduct 117 from 150 and we're left with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 11:
The number 39 fits into 330 8 times, leaving a remainder of 18.
Put 8 as the next digit of the answer. 
Result so far: 12835.61538
The remainder is 18 after subtracting 312 from 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 12:
39 can be fit into 180 4 times, resulting in a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 12835.615384
Subtract 156 from 180 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 13:
39 goes into 240 6 times with a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 12835.6153846
Subtract 234 from 240 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 14:
60 divided by 39 is 1 with a remainder of 21.
Record the quotient 1 as the next digit in the result. 
Result so far: 12835.61538461
If we take 39 away from 60, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final result is 12835.61538461 with a remainder of 2.1e-08.