862258 divided by 31 
We want to divide 862258 by 31.

Let's proceed to step 1:
8 divided by 31 is 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 31

Let's proceed to step 2:
When dividing 86 by 31, we get 2 with a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 62 away from 86, we end up with 24.
Fetch the next digit (2) from the dividend, attach it to 24 and continue: 242 / 31

Step 3:
31 goes into 242 7 times with a remainder of 25.
Record the quotient 7 as the next digit in the result. 
Result so far: 27.0
Deduct 217 from 242 and we're left with 25.
Append the next digit (2) from the dividend to 25 and continue with: 252 / 31

Let's proceed to step 4:
252 divided by 31 is 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 278.0
If we take 248 away from 252, we end up with 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 31

On to step 5:
45 divided by 31 is 1 with a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 2781.0
Subtract 31 from 45 to get 14.
Take the next digit (8) from the dividend and append it to 14, then repeat: 148 / 31

Advancing to step 6:
When dividing 148 by 31, we get 4 with a remainder of 24.
The next digit of our result is 4. 
Result so far: 27814.0
The remainder is 24 after subtracting 124 from 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 7:
240 divided by 31 is 7 with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 27814.7
The remainder is 23 after subtracting 217 from 240.
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 8:
If we divide 230 by 31, we get 7 and a remainder of 13.
The next digit of our result is 7. 
Result so far: 27814.77
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.

After the division, we end up with 27814.77 and a remainder of 0.013.