966663 divided by 31 
Our goal is to divide 966663 by 31.

Step 1:
31 goes into 9 0 times with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 31

On to step 2:
If we divide 96 by 31, we get 3 and a remainder of 3.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 93 from 96, we get 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 31

Moving on to step 3:
The number 31 fits into 36 1 times, leaving a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
Subtract 31 from 36 to get 5.
Grab the next digit (6) from the dividend, add it to 5, then carry on: 56 / 31

Going ahead to step 4:
The number 31 fits into 56 1 times, leaving a remainder of 25.
The number 1 becomes the next digit in our result. 
Result so far: 311.0
Subtracting 31 from 56 leaves us with 25.
Bring next digit (6) of the dividend behind the 25 and repeat the process: 256 / 31

Going ahead to step 5:
The number 31 fits into 256 8 times, leaving a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 3118.0
If we subtract 248 from 256, we get 8.
Append the next digit (3) from the dividend to 8 and continue with: 83 / 31

On to step 6:
When dividing 83 by 31, we get 2 with a remainder of 21.
The number 2 becomes the next digit in our result. 
Result so far: 31182.0
Deduct 62 from 83 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 7:
31 can be fit into 210 6 times, resulting in a remainder of 24.
The next digit of our result is 6. 
Result so far: 31182.6
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 8:
240 divided by 31 is 7 with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 31182.67
If we take 217 away from 240, we end up 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.

Let's proceed to step 9:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 31182.677
Subtracting 217 from 230 leaves us with 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 result is 31182.677 with a remainder of 0.0013.