964479 ÷ 31 
Let's see how many times 31 fits into 964479.

On to step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Grab the next digit (6) from the dividend, add it to 9, then carry on: 96 / 31

Step 2:
96 divided by 31 is 3 with a remainder of 3.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 93 from 96 and we're left with 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 31

Moving on to step 3:
34 divided by 31 is 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 31.0
The remainder is 3 after subtracting 31 from 34.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 31

On to step 4:
31 goes into 34 1 times with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 311.0
If we subtract 31 from 34, we get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 31

Moving on to step 5:
If we divide 37 by 31, we get 1 and a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 3111.0
The remainder is 6 after subtracting 31 from 37.
Fetch the next digit (9) from the dividend, attach it to 6 and continue: 69 / 31

Let's proceed to step 6:
31 goes into 69 2 times with a remainder of 7.
Write down 2 as next digit of the result. 
Result so far: 31112.0
The remainder is 7 after subtracting 62 from 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
When dividing 70 by 31, we get 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 31112.2
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
When dividing 80 by 31, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 31112.22
If we take 62 away from 80, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 31112.22 and a remainder of 0.018.