Let's divide 817087 by 31
Let's see how many times 31 fits into 817087.

On to step 1:
31 can be fit into 8 0 times, resulting in a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Grab the next digit (1) from the dividend, add it to 8, then carry on: 81 / 31

Going ahead to step 2:
31 can be fit into 81 2 times, resulting in a remainder of 19.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 62 from 81 leaves us with 19.
Include the next digit (7) from the dividend after 19, then repeat: 197 / 31

Going ahead to step 3:
31 goes into 197 6 times with a remainder of 11.
Use 6 as the next digit of our solution. 
Result so far: 26.0
The remainder is 11 after subtracting 186 from 197.
Fetch the next digit (0) from the dividend, attach it to 11 and continue: 110 / 31

Let's proceed to step 4:
If we divide 110 by 31, we get 3 and a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 263.0
The remainder is 17 after subtracting 93 from 110.
Include the next digit (8) from the dividend after 17, then repeat: 178 / 31

Let's proceed to step 5:
If we divide 178 by 31, we get 5 and a remainder of 23.
Write down 5 as next digit of the result. 
Result so far: 2635.0
If we subtract 155 from 178, we get 23.
Take the next digit (7) from the dividend and append it to 23, then repeat: 237 / 31

On to step 6:
31 can be fit into 237 7 times, resulting in a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 26357.0
Subtracting 217 from 237 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 7:
200 divided by 31 is 6 with a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 26357.6
If we take 186 away from 200, we end up 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.

Step 8:
31 goes into 140 4 times with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 26357.64
Subtract 124 from 140 to get 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 9:
160 divided by 31 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 26357.645
If we take 155 away from 160, we end up 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 10:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 26357.6451
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 11:
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: 26357.64516
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.

Let's proceed to step 12:
31 goes into 40 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 26357.645161
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 13:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 26357.6451612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 14:
31 goes into 280 9 times with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 26357.64516129
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Our division results in 26357.64516129 with a remaining 1e-09.