Let's divide 559083 by 31
We want to divide 559083 by 31.

Step 1:
31 goes into 5 0 times with 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 (5) from the dividend to 5 and continue with: 55 / 31

Let's proceed to step 2:
55 divided by 31 is 1 with a remainder of 24.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 31 from 55 to get 24.
Take the next digit (9) from the dividend and append it to 24, then repeat: 249 / 31

Moving on to step 3:
If we divide 249 by 31, we get 8 and a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 18.0
The remainder is 1 after subtracting 248 from 249.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 31

Moving on to step 4:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 180.0
The remainder is 10 after subtracting 0 from 10.
Include the next digit (8) from the dividend after 10, then repeat: 108 / 31

Moving on to step 5:
108 divided by 31 is 3 with a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 1803.0
If we take 93 away from 108, we end up with 15.
Grab the next digit (3) from the dividend, add it to 15, then carry on: 153 / 31

On to step 6:
The number 31 fits into 153 4 times, leaving a remainder of 29.
The next digit of our result is 4. 
Result so far: 18034.0
Deduct 124 from 153 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 7:
31 goes into 290 9 times with a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 18034.9
If we take 279 away from 290, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 8:
The number 31 fits into 110 3 times, leaving a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 18034.93
Subtract 93 from 110 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 9:
31 goes into 170 5 times with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 18034.935
If we take 155 away from 170, we end up with 15.
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:
31 goes into 150 4 times with a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 18034.9354
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 11:
31 goes into 260 8 times with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 18034.93548
Deduct 248 from 260 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 12:
31 goes into 120 3 times with a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 18034.935483
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 13:
When dividing 270 by 31, we get 8 with a remainder of 22.
The next digit of our result is 8. 
Result so far: 18034.9354838
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 14:
31 goes into 220 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 18034.93548387
If we take 217 away from 220, we end up 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.

After the division, we end up with 18034.93548387 and a remainder of 3e-09.