873867 ÷ 31 
Our goal is to divide 873867 by 31.

Moving on to step 1:
The number 31 fits into 8 0 times, leaving 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.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 31

Let's proceed to step 2:
When dividing 87 by 31, we get 2 with a remainder of 25.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 62 from 87, we get 25.
Take the next digit (3) from the dividend and append it to 25, then repeat: 253 / 31

Let's proceed to step 3:
The number 31 fits into 253 8 times, leaving a remainder of 5.
Use 8 as the next digit of our solution. 
Result so far: 28.0
Deduct 248 from 253 and we're left with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 31

On to step 4:
31 can be fit into 58 1 times, resulting in a remainder of 27.
Record the quotient 1 as the next digit in the result. 
Result so far: 281.0
Subtracting 31 from 58 leaves us with 27.
Grab the next digit (6) from the dividend, add it to 27, then carry on: 276 / 31

Let's proceed to step 5:
When dividing 276 by 31, we get 8 with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 2818.0
The remainder is 28 after subtracting 248 from 276.
Append the next digit (7) from the dividend to 28 and continue with: 287 / 31

Let's proceed to step 6:
31 can be fit into 287 9 times, resulting in a remainder of 8.
Record the quotient 9 as the next digit in the result. 
Result so far: 28189.0
Subtract 279 from 287 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:
The number 31 fits into 80 2 times, leaving a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 28189.2
If we take 62 away from 80, we end up 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.

Moving on to step 8:
31 can be fit into 180 5 times, resulting in a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 28189.25
If we take 155 away from 180, we end up 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:
When dividing 250 by 31, we get 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 28189.258
If we subtract 248 from 250, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 10:
20 divided by 31 is 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 28189.258
If we take 0 away from 20, we end up 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.

Advancing to step 11:
31 can be fit into 200 6 times, resulting in a remainder of 14.
The next digit of our result is 6. 
Result so far: 28189.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:
31 can be fit into 140 4 times, resulting in a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 28189.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.

Step 13:
If we divide 160 by 31, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 28189.2580645
Subtract 155 from 160 to 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:
If we divide 50 by 31, we get 1 and a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 28189.25806451
Deduct 31 from 50 and we're left with 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 28189.25806451 with a remaining 1.9e-08.