We look at the division of 873500 by 31 
Let's see how many times 31 fits into 873500.

Advancing to step 1:
The number 31 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 31

On to step 2:
If we divide 87 by 31, we get 2 and a remainder of 25.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 62 away from 87, we end up with 25.
Bring next digit (3) of the dividend behind the 25 and repeat the process: 253 / 31

Let's proceed to step 3:
31 can be fit into 253 8 times, resulting in a remainder of 5.
Record the quotient 8 as the next digit in the result. 
Result so far: 28.0
Subtract 248 from 253 to get 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 31

Moving on to step 4:
31 can be fit into 55 1 times, resulting in a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 281.0
If we subtract 31 from 55, we get 24.
Fetch the next digit (0) from the dividend, attach it to 24 and continue: 240 / 31

Moving on to step 5:
When dividing 240 by 31, we get 7 with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 2817.0
The remainder is 23 after subtracting 217 from 240.
Take the next digit (0) from the dividend and append it to 23, then repeat: 230 / 31

Step 6:
When dividing 230 by 31, we get 7 with a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 28177.0
The remainder is 13 after subtracting 217 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 7:
130 divided by 31 is 4 with a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 28177.4
The remainder is 6 after subtracting 124 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
When dividing 60 by 31, we get 1 with a remainder of 29.
Write down 1 as next digit of the result. 
Result so far: 28177.41
The remainder is 29 after subtracting 31 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 9:
290 divided by 31 is 9 with a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 28177.419
Deduct 279 from 290 and we're left 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.

Moving on to step 10:
31 can be fit into 110 3 times, resulting in a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 28177.4193
Deduct 93 from 110 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 11:
170 divided by 31 is 5 with a remainder of 15.
The next digit of our result is 5. 
Result so far: 28177.41935
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.

Step 12:
31 goes into 150 4 times with a remainder of 26.
The next digit of our result is 4. 
Result so far: 28177.419354
Subtract 124 from 150 to get 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 13:
31 can be fit into 260 8 times, resulting in a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 28177.4193548
If we take 248 away from 260, we end up 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.

Let's proceed to step 14:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 28177.41935483
Deduct 93 from 120 and we're left 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.

The quotient of the division is 28177.41935483, and the remainder is 2.7e-08.