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

Step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Fetch the next digit (6) from the dividend, attach it to 9 and continue: 96 / 31

Going ahead to step 2:
When dividing 96 by 31, we get 3 with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 93 from 96 to get 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 31

Going ahead to step 3:
When dividing 36 by 31, we get 1 with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
Subtract 31 from 36 to get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 31

Moving on to step 4:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 311.0
Subtract 31 from 50 to get 19.
Include the next digit (2) from the dividend after 19, then repeat: 192 / 31

Let's proceed to step 5:
192 divided by 31 is 6 with a remainder of 6.
Record the quotient 6 as the next digit in the result. 
Result so far: 3116.0
Deduct 186 from 192 and we're left with 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 31

Moving on to step 6:
If we divide 67 by 31, we get 2 and a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 31162.0
Deduct 62 from 67 and we're left 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 7:
If we divide 50 by 31, we get 1 and a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 31162.1
Deduct 31 from 50 and we're left 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.

Moving on to step 8:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 31162.16
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.

Advancing to step 9:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 31162.161
The remainder is 9 after subtracting 31 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 10:
If we divide 90 by 31, we get 2 and a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 31162.1612
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.

Step 11:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 31162.16129
If we take 279 away from 280, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 12:
31 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 31162.16129
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 13:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 31162.1612903
If we take 93 away from 100, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 14:
If we divide 70 by 31, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 31162.16129032
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Our division results in 31162.16129032 with a remaining 8e-09.