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

On to step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 31

Let's proceed to step 2:
31 goes into 99 3 times with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 93 from 99 and we're left with 6.
Fetch the next digit (6) from the dividend, attach it to 6 and continue: 66 / 31

Let's proceed to step 3:
31 can be fit into 66 2 times, resulting in a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 32.0
Deduct 62 from 66 and we're left with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 31

Going ahead to step 4:
The number 31 fits into 49 1 times, leaving a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 321.0
Subtract 31 from 49 to get 18.
Fetch the next digit (6) from the dividend, attach it to 18 and continue: 186 / 31

Let's proceed to step 5:
186 divided by 31 is 6 with a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 3216.0
Subtracting 186 from 186 leaves us with 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 31

On to step 6:
31 goes into 6 0 times with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 32160.0
Deduct 0 from 6 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
31 can be fit into 60 1 times, resulting in a remainder of 29.
The next digit of our result is 1. 
Result so far: 32160.1
Subtracting 31 from 60 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 8:
31 can be fit into 290 9 times, resulting in a remainder of 11.
The next digit of our result is 9. 
Result so far: 32160.19
If we take 279 away from 290, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 9:
110 divided by 31 is 3 with a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 32160.193
Subtracting 93 from 110 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 10:
When dividing 170 by 31, we get 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 32160.1935
Subtracting 155 from 170 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 11:
150 divided by 31 is 4 with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 32160.19354
If we subtract 124 from 150, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 12:
When dividing 260 by 31, we get 8 with a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 32160.193548
If we take 248 away from 260, we end up 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.

Let's proceed to step 13:
31 goes into 120 3 times with a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 32160.1935483
Subtracting 93 from 120 leaves us with 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 14:
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: 32160.19354838
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final result is 32160.19354838 with a remainder of 2.2e-08.