We look at the division of 871490 by 31 
We want to figure out the number of times 871490 can be divided by 31.

Moving on to step 1:
31 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 31

Advancing to step 2:
When dividing 87 by 31, we get 2 with a remainder of 25.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 62 from 87 leaves us with 25.
Include the next digit (1) from the dividend after 25, then repeat: 251 / 31

Step 3:
If we divide 251 by 31, we get 8 and a remainder of 3.
Put 8 as the next digit of the answer. 
Result so far: 28.0
If we take 248 away from 251, we end up with 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 31

Step 4:
If we divide 34 by 31, we get 1 and a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 281.0
If we subtract 31 from 34, we get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 31

On to step 5:
31 can be fit into 39 1 times, resulting in a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 2811.0
Deduct 31 from 39 and we're left with 8.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 31

Let's proceed to step 6:
If we divide 80 by 31, we get 2 and a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 28112.0
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.

Advancing to step 7:
If we divide 180 by 31, we get 5 and a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 28112.5
The remainder is 25 after subtracting 155 from 180.
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 8:
The number 31 fits into 250 8 times, leaving a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 28112.58
Subtract 248 from 250 to 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.

On to step 9:
20 divided by 31 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 28112.58
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 10:
31 goes into 200 6 times with a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 28112.5806
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.

Advancing to step 11:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 28112.58064
If we take 124 away from 140, we end up 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.

Let's proceed to step 12:
31 can be fit into 160 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 28112.580645
Deduct 155 from 160 and we're left 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.

Advancing to step 13:
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: 28112.5806451
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.

On to step 14:
When dividing 190 by 31, we get 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 28112.58064516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

In conclusion, the division gives 28112.58064516 with a balance of 4e-09.