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

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
Subtract 0 from 8 to get 8.
Take the next digit (2) from the dividend and append it to 8, then repeat: 82 / 31

On to step 2:
The number 31 fits into 82 2 times, leaving 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.
Fetch the next digit (9) from the dividend, attach it to 20 and continue: 209 / 31

Let's proceed to step 3:
When dividing 209 by 31, we get 6 with a remainder of 23.
Write down 6 as next digit of the result. 
Result so far: 26.0
The remainder is 23 after subtracting 186 from 209.
Append the next digit (9) from the dividend to 23 and continue with: 239 / 31

Moving on to step 4:
239 divided by 31 is 7 with a remainder of 22.
Record the quotient 7 as the next digit in the result. 
Result so far: 267.0
Deduct 217 from 239 and we're left with 22.
Grab the next digit (4) from the dividend, add it to 22, then carry on: 224 / 31

Step 5:
If we divide 224 by 31, we get 7 and a remainder of 7.
Write down 7 as next digit of the result. 
Result so far: 2677.0
If we subtract 217 from 224, we get 7.
Grab the next digit (2) from the dividend, add it to 7, then carry on: 72 / 31

Advancing to step 6:
If we divide 72 by 31, we get 2 and a remainder of 10.
The next digit of our result is 2. 
Result so far: 26772.0
If we subtract 62 from 72, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 7:
100 divided by 31 is 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 26772.3
Deduct 93 from 100 and we're left with 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 8:
When dividing 70 by 31, we get 2 with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 26772.32
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
When dividing 80 by 31, we get 2 with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 26772.322
Deduct 62 from 80 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 26772.322 and a remainder of 0.0018.