We're dividing 869876 by 31 
We want to figure out the number of times 869876 can be divided by 31.

On to step 1:
If we divide 8 by 31, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 31

On to step 2:
When dividing 86 by 31, we get 2 with a remainder of 24.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 62 from 86 to get 24.
Take the next digit (9) from the dividend and append it to 24, then repeat: 249 / 31

Step 3:
31 goes into 249 8 times with a remainder of 1.
The next digit of our result is 8. 
Result so far: 28.0
Subtracting 248 from 249 leaves us with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 31

Moving on to step 4:
18 divided by 31 is 0 with a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 280.0
Subtracting 0 from 18 leaves us with 18.
Take the next digit (7) from the dividend and append it to 18, then repeat: 187 / 31

Let's proceed to step 5:
If we divide 187 by 31, we get 6 and a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 2806.0
Subtracting 186 from 187 leaves us with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 31

Step 6:
16 divided by 31 is 0 with a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 28060.0
The remainder is 16 after subtracting 0 from 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
160 divided by 31 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 28060.5
If we subtract 155 from 160, we 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.

Let's proceed to step 8:
31 goes into 50 1 times with a remainder of 19.
The next digit of our result is 1. 
Result so far: 28060.51
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.

Let's proceed to step 9:
31 goes into 190 6 times with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 28060.516
If we take 186 away from 190, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 10:
The number 31 fits into 40 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 28060.5161
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 11:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The next digit of our result is 2. 
Result so far: 28060.51612
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 12:
When dividing 280 by 31, we get 9 with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 28060.516129
If we take 279 away from 280, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 13:
31 can be fit into 10 0 times, resulting in a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 28060.516129
Subtracting 0 from 10 leaves us 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 14:
31 goes into 100 3 times with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 28060.51612903
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The final result is 28060.51612903 with a remainder of 7e-09.