We're dividing 876915 by 31 
We're looking to find how many times 31 goes into 876915.

Let's proceed to step 1:
If we divide 8 by 31, we get 0 and a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 31

Going ahead to step 2:
87 divided by 31 is 2 with a remainder of 25.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 25 after subtracting 62 from 87.
Include the next digit (6) from the dividend after 25, then repeat: 256 / 31

Advancing to step 3:
The number 31 fits into 256 8 times, leaving a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 28.0
Subtract 248 from 256 to get 8.
Bring next digit (9) of the dividend behind the 8 and repeat the process: 89 / 31

Advancing to step 4:
31 goes into 89 2 times with a remainder of 27.
Use 2 as the next digit of our solution. 
Result so far: 282.0
Subtracting 62 from 89 leaves us with 27.
Append the next digit (1) from the dividend to 27 and continue with: 271 / 31

Let's proceed to step 5:
31 goes into 271 8 times with a remainder of 23.
Put 8 as the next digit of the answer. 
Result so far: 2828.0
Subtract 248 from 271 to get 23.
Grab the next digit (5) from the dividend, add it to 23, then carry on: 235 / 31

Step 6:
When dividing 235 by 31, we get 7 with a remainder of 18.
Write down 7 as next digit of the result. 
Result so far: 28287.0
Subtracting 217 from 235 leaves us 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.

Let's proceed to step 7:
31 can be fit into 180 5 times, resulting in a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 28287.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.

Step 8:
31 goes into 250 8 times with a remainder of 2.
The next digit of our result is 8. 
Result so far: 28287.58
Subtracting 248 from 250 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 9:
31 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 28287.58
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 10:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 28287.5806
If we subtract 186 from 200, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 11:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 28287.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.

Going ahead to step 12:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 28287.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.

Going ahead to step 13:
When dividing 50 by 31, we get 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 28287.5806451
Subtract 31 from 50 to 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.

Step 14:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 28287.58064516
Subtract 186 from 190 to get 4.
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 28287.58064516 with a balance of 4e-09.