871907 ÷ 31 
We want to figure out the number of times 871907 can be divided by 31.

Let's proceed 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
Subtracting 0 from 8 leaves us with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 31

Moving on to step 2:
The number 31 fits into 87 2 times, leaving 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 (1) from the dividend and append it to 25, then repeat: 251 / 31

Step 3:
The number 31 fits into 251 8 times, leaving a remainder of 3.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
If we subtract 248 from 251, we get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 31

Let's proceed to step 4:
If we divide 39 by 31, we get 1 and a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 281.0
Subtract 31 from 39 to get 8.
Grab the next digit (0) from the dividend, add it to 8, then carry on: 80 / 31

Moving on to step 5:
31 goes into 80 2 times with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 2812.0
The remainder is 18 after subtracting 62 from 80.
Append the next digit (7) from the dividend to 18 and continue with: 187 / 31

Step 6:
187 divided by 31 is 6 with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 28126.0
The remainder is 1 after subtracting 186 from 187.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
When dividing 10 by 31, we get 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 28126.0
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
31 goes into 100 3 times with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 28126.03
Deduct 93 from 100 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 9:
The number 31 fits into 70 2 times, leaving a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 28126.032
Subtract 62 from 70 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.

On to step 10:
80 divided by 31 is 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 28126.0322
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 28126.0322, with a leftover of 0.00018.