827877 divided by 31 
Let's see how many times 31 fits into 827877.

Going ahead to step 1:
When dividing 8 by 31, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (2) from the dividend, attach it to 8 and continue: 82 / 31

On to step 2:
31 goes into 82 2 times with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 62 from 82 leaves us with 20.
Bring next digit (7) of the dividend behind the 20 and repeat the process: 207 / 31

Step 3:
The number 31 fits into 207 6 times, leaving a remainder of 21.
Use 6 as the next digit of our solution. 
Result so far: 26.0
If we subtract 186 from 207, we get 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 31

Going ahead to step 4:
When dividing 218 by 31, we get 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 267.0
If we take 217 away from 218, we end up with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 31

On to step 5:
31 goes into 17 0 times with a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 2670.0
Deduct 0 from 17 and we're left with 17.
Bring next digit (7) of the dividend behind the 17 and repeat the process: 177 / 31

Step 6:
The number 31 fits into 177 5 times, leaving a remainder of 22.
The number 5 becomes the next digit in our result. 
Result so far: 26705.0
Subtract 155 from 177 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 7:
When dividing 220 by 31, we get 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 26705.7
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 8:
If we divide 30 by 31, we get 0 and a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 26705.7
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 9:
31 goes into 300 9 times with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 26705.709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 10:
31 goes into 210 6 times with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 26705.7096
If we take 186 away from 210, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 11:
240 divided by 31 is 7 with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 26705.70967
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 12:
When dividing 230 by 31, we get 7 with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 26705.709677
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final result is 26705.709677 with a remainder of 1.3e-06.