Let's divide 863587 by 31
We're looking to find how many times 31 goes into 863587.

Step 1:
31 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 31

Going ahead to step 2:
86 divided by 31 is 2 with a remainder of 24.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 24 after subtracting 62 from 86.
Grab the next digit (3) from the dividend, add it to 24, then carry on: 243 / 31

Going ahead to step 3:
When dividing 243 by 31, we get 7 with a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 27.0
Subtract 217 from 243 to get 26.
Fetch the next digit (5) from the dividend, attach it to 26 and continue: 265 / 31

Advancing to step 4:
When dividing 265 by 31, we get 8 with a remainder of 17.
Use 8 as the next digit of our solution. 
Result so far: 278.0
Subtract 248 from 265 to get 17.
Fetch the next digit (8) from the dividend, attach it to 17 and continue: 178 / 31

Going ahead to step 5:
If we divide 178 by 31, we get 5 and a remainder of 23.
Write down 5 as next digit of the result. 
Result so far: 2785.0
Subtracting 155 from 178 leaves us with 23.
Grab the next digit (7) from the dividend, add it to 23, then carry on: 237 / 31

Advancing to step 6:
When dividing 237 by 31, we get 7 with a remainder of 20.
The next digit of our result is 7. 
Result so far: 27857.0
Deduct 217 from 237 and we're left 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.

Step 7:
31 goes into 200 6 times with a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 27857.6
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 8:
If we divide 140 by 31, we get 4 and a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 27857.64
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.

On to step 9:
The number 31 fits into 160 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 27857.645
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 10:
If we divide 50 by 31, we get 1 and a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 27857.6451
If we subtract 31 from 50, 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.

Moving on to step 11:
If we divide 190 by 31, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 27857.64516
If we take 186 away from 190, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 12:
40 divided by 31 is 1 with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 27857.645161
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 13:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 27857.6451612
Deduct 62 from 90 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 14:
When dividing 280 by 31, we get 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 27857.64516129
If we take 279 away from 280, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final result is 27857.64516129 with a remainder of 1e-09.