We look at the division of 820391 by 31 
We're looking to find how many times 31 goes into 820391.

Moving on to step 1:
31 goes into 8 0 times with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Take the next digit (2) from the dividend and append it to 8, then repeat: 82 / 31

On to step 2:
When dividing 82 by 31, we get 2 with a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 62 away from 82, we end up with 20.
Grab the next digit (0) from the dividend, add it to 20, then carry on: 200 / 31

Advancing to step 3:
31 can be fit into 200 6 times, resulting in a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 26.0
If we take 186 away from 200, we end up with 14.
Append the next digit (3) from the dividend to 14 and continue with: 143 / 31

Let's proceed to step 4:
31 goes into 143 4 times with a remainder of 19.
The next digit of our result is 4. 
Result so far: 264.0
Subtracting 124 from 143 leaves us with 19.
Grab the next digit (9) from the dividend, add it to 19, then carry on: 199 / 31

On to step 5:
When dividing 199 by 31, we get 6 with a remainder of 13.
The number 6 becomes the next digit in our result. 
Result so far: 2646.0
Subtracting 186 from 199 leaves us with 13.
Include the next digit (1) from the dividend after 13, then repeat: 131 / 31

On to step 6:
31 goes into 131 4 times with a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 26464.0
Subtract 124 from 131 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
31 goes into 70 2 times with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 26464.2
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
80 divided by 31 is 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 26464.22
Subtract 62 from 80 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 26464.22 with a remaining 0.018.