We divide 593782 by 31
Our goal is to divide 593782 by 31.

Let's proceed to step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 31

Going ahead to step 2:
31 can be fit into 59 1 times, resulting in a remainder of 28.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 31 from 59 and we're left with 28.
Grab the next digit (3) from the dividend, add it to 28, then carry on: 283 / 31

Advancing to step 3:
31 can be fit into 283 9 times, resulting in a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 19.0
If we take 279 away from 283, we end up with 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 31

On to step 4:
The number 31 fits into 47 1 times, leaving a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 191.0
Subtract 31 from 47 to get 16.
Fetch the next digit (8) from the dividend, attach it to 16 and continue: 168 / 31

Going ahead to step 5:
When dividing 168 by 31, we get 5 with a remainder of 13.
The next digit of our result is 5. 
Result so far: 1915.0
Subtract 155 from 168 to get 13.
Fetch the next digit (2) from the dividend, attach it to 13 and continue: 132 / 31

On to step 6:
If we divide 132 by 31, we get 4 and a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 19154.0
Subtract 124 from 132 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.

Step 7:
80 divided by 31 is 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 19154.2
Subtracting 62 from 80 leaves us with 18.
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 8:
If we divide 180 by 31, we get 5 and a remainder of 25.
The next digit of our result is 5. 
Result so far: 19154.25
Subtracting 155 from 180 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 9:
250 divided by 31 is 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 19154.258
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 10:
When dividing 20 by 31, we get 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 19154.258
Subtracting 0 from 20 leaves us 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.

Let's proceed to step 11:
When dividing 200 by 31, we get 6 with a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 19154.25806
Subtracting 186 from 200 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 12:
140 divided by 31 is 4 with a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 19154.258064
Deduct 124 from 140 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 13:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 19154.2580645
If we subtract 155 from 160, we 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.

Going ahead to step 14:
When dividing 50 by 31, we get 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 19154.25806451
Subtract 31 from 50 to 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.

Our division results in 19154.25806451 with a remaining 1.9e-08.