991642 ÷ 31 
We're looking to find how many times 31 goes into 991642.

On to step 1:
9 divided by 31 is 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 31

Going ahead to step 2:
31 goes into 99 3 times with a remainder of 6.
The next digit of our result is 3. 
Result so far: 3.0
Subtracting 93 from 99 leaves us with 6.
Include the next digit (1) from the dividend after 6, then repeat: 61 / 31

On to step 3:
If we divide 61 by 31, we get 1 and a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 31.0
Subtract 31 from 61 to get 30.
Include the next digit (6) from the dividend after 30, then repeat: 306 / 31

Going ahead to step 4:
The number 31 fits into 306 9 times, leaving a remainder of 27.
The number 9 becomes the next digit in our result. 
Result so far: 319.0
Subtract 279 from 306 to get 27.
Include the next digit (4) from the dividend after 27, then repeat: 274 / 31

On to step 5:
The number 31 fits into 274 8 times, leaving a remainder of 26.
Use 8 as the next digit of our solution. 
Result so far: 3198.0
Deduct 248 from 274 and we're left with 26.
Take the next digit (2) from the dividend and append it to 26, then repeat: 262 / 31

Going ahead to step 6:
When dividing 262 by 31, we get 8 with a remainder of 14.
The next digit of our result is 8. 
Result so far: 31988.0
Subtract 248 from 262 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 7:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 31988.4
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 8:
When dividing 160 by 31, we get 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 31988.45
Subtract 155 from 160 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 9:
When dividing 50 by 31, we get 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 31988.451
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.

On to step 10:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 31988.4516
If we take 186 away from 190, we end up 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.

Going ahead to step 11:
31 goes into 40 1 times with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 31988.45161
If we subtract 31 from 40, we get 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 12:
31 goes into 90 2 times with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 31988.451612
Subtract 62 from 90 to get 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 13:
280 divided by 31 is 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 31988.4516129
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.

Advancing to step 14:
When dividing 10 by 31, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 31988.4516129
Subtract 0 from 10 to 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.

The final outcome is 31988.4516129, with a leftover of 1e-08.