Let's divide 966179 by 31
We're looking to find how many times 31 goes into 966179.

On to step 1:
31 goes into 9 0 times with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (6) from the dividend and append it to 9, then repeat: 96 / 31

Let's proceed to step 2:
If we divide 96 by 31, we get 3 and a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 93 from 96 and we're left with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 31

Let's proceed to step 3:
31 can be fit into 36 1 times, resulting in a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
Deduct 31 from 36 and we're left with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 31

Step 4:
The number 31 fits into 51 1 times, leaving a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 311.0
Subtract 31 from 51 to get 20.
Bring next digit (7) of the dividend behind the 20 and repeat the process: 207 / 31

Let's proceed to step 5:
When dividing 207 by 31, we get 6 with a remainder of 21.
The number 6 becomes the next digit in our result. 
Result so far: 3116.0
If we subtract 186 from 207, we get 21.
Take the next digit (9) from the dividend and append it to 21, then repeat: 219 / 31

Step 6:
The number 31 fits into 219 7 times, leaving a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 31167.0
Subtracting 217 from 219 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
When dividing 20 by 31, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 31167.0
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
When dividing 200 by 31, we get 6 with a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 31167.06
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 9:
When dividing 140 by 31, we get 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 31167.064
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.

Let's proceed to step 10:
160 divided by 31 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 31167.0645
The remainder is 5 after subtracting 155 from 160.
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 11:
The number 31 fits into 50 1 times, leaving a remainder of 19.
The next digit of our result is 1. 
Result so far: 31167.06451
Subtracting 31 from 50 leaves us 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.

Let's proceed to step 12:
The number 31 fits into 190 6 times, leaving a remainder of 4.
The next digit of our result is 6. 
Result so far: 31167.064516
If we subtract 186 from 190, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 13:
When dividing 40 by 31, we get 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 31167.0645161
Subtract 31 from 40 to 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.

Advancing to step 14:
31 can be fit into 90 2 times, resulting in a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 31167.06451612
If we take 62 away from 90, we end up 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.

After the division, we end up with 31167.06451612 and a remainder of 2.8e-08.