We divide 942257 by 31
We're looking to find how many times 31 goes into 942257.

Advancing to step 1:
31 can be fit into 9 0 times, resulting in a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 31

On to step 2:
The number 31 fits into 94 3 times, leaving a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 93 from 94 leaves us with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 31

Step 3:
The number 31 fits into 12 0 times, leaving a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 30.0
If we take 0 away from 12, we end up with 12.
Grab the next digit (2) from the dividend, add it to 12, then carry on: 122 / 31

On to step 4:
If we divide 122 by 31, we get 3 and a remainder of 29.
Record the quotient 3 as the next digit in the result. 
Result so far: 303.0
If we subtract 93 from 122, we get 29.
Grab the next digit (5) from the dividend, add it to 29, then carry on: 295 / 31

Let's proceed to step 5:
31 can be fit into 295 9 times, resulting in a remainder of 16.
Record the quotient 9 as the next digit in the result. 
Result so far: 3039.0
Subtract 279 from 295 to get 16.
Take the next digit (7) from the dividend and append it to 16, then repeat: 167 / 31

Going ahead to step 6:
When dividing 167 by 31, we get 5 with a remainder of 12.
Use 5 as the next digit of our solution. 
Result so far: 30395.0
Deduct 155 from 167 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 7:
When dividing 120 by 31, we get 3 with a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 30395.3
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 8:
31 can be fit into 270 8 times, resulting in a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 30395.38
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 9:
If we divide 220 by 31, we get 7 and a remainder of 3.
The next digit of our result is 7. 
Result so far: 30395.387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 10:
When dividing 30 by 31, we get 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 30395.387
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 11:
When dividing 300 by 31, we get 9 with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 30395.38709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 12:
31 goes into 210 6 times with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 30395.387096
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 13:
The number 31 fits into 240 7 times, leaving a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 30395.3870967
Subtracting 217 from 240 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 14:
31 goes into 230 7 times with a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 30395.38709677
Subtract 217 from 230 to 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.

The final outcome is 30395.38709677, with a leftover of 1.3e-08.