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

Advancing to step 1:
When dividing 8 by 31, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Take the next digit (5) from the dividend and append it to 8, then repeat: 85 / 31

Step 2:
When dividing 85 by 31, we get 2 with a remainder of 23.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 62 from 85 to get 23.
Bring next digit (7) of the dividend behind the 23 and repeat the process: 237 / 31

Advancing to step 3:
31 goes into 237 7 times with a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 27.0
Subtract 217 from 237 to get 20.
Bring next digit (2) of the dividend behind the 20 and repeat the process: 202 / 31

Advancing to step 4:
202 divided by 31 is 6 with a remainder of 16.
The next digit of our result is 6. 
Result so far: 276.0
The remainder is 16 after subtracting 186 from 202.
Include the next digit (9) from the dividend after 16, then repeat: 169 / 31

Going ahead to step 5:
The number 31 fits into 169 5 times, leaving a remainder of 14.
Use 5 as the next digit of our solution. 
Result so far: 2765.0
Subtracting 155 from 169 leaves us with 14.
Fetch the next digit (4) from the dividend, attach it to 14 and continue: 144 / 31

Going ahead to step 6:
144 divided by 31 is 4 with a remainder of 20.
The next digit of our result is 4. 
Result so far: 27654.0
If we subtract 124 from 144, we get 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:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 27654.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.

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

On to step 9:
The number 31 fits into 160 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 27654.645
Subtracting 155 from 160 leaves us 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:
50 divided by 31 is 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 27654.6451
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 11:
31 goes into 190 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 27654.64516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 12:
If we divide 40 by 31, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 27654.645161
If we take 31 away from 40, we end up with 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:
If we divide 90 by 31, we get 2 and a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 27654.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:
When dividing 280 by 31, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 27654.64516129
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The quotient of the division is 27654.64516129, and the remainder is 1e-09.