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

Let's proceed to step 1:
4 divided by 31 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 31

Moving on to step 2:
When dividing 48 by 31, we get 1 with a remainder of 17.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 31 away from 48, we end up with 17.
Grab the next digit (7) from the dividend, add it to 17, then carry on: 177 / 31

Moving on to step 3:
If we divide 177 by 31, we get 5 and a remainder of 22.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Deduct 155 from 177 and we're left with 22.
Grab the next digit (9) from the dividend, add it to 22, then carry on: 229 / 31

Moving on to step 4:
229 divided by 31 is 7 with a remainder of 12.
Use 7 as the next digit of our solution. 
Result so far: 157.0
Subtracting 217 from 229 leaves us with 12.
Include the next digit (6) from the dividend after 12, then repeat: 126 / 31

Going ahead to step 5:
126 divided by 31 is 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 1574.0
If we subtract 124 from 126, we get 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 31

On to step 6:
When dividing 25 by 31, we get 0 with a remainder of 25.
The next digit of our result is 0. 
Result so far: 15740.0
If we subtract 0 from 25, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 7:
250 divided by 31 is 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 15740.8
If we take 248 away from 250, we end up 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 8:
If we divide 20 by 31, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 15740.8
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.

Let's proceed to step 9:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 15740.806
If we take 186 away from 200, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 10:
31 goes into 140 4 times with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 15740.8064
Subtracting 124 from 140 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 11:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 15740.80645
Subtract 155 from 160 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 12:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 15740.806451
Subtract 31 from 50 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 13:
190 divided by 31 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 15740.8064516
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.

On to step 14:
31 goes into 40 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 15740.80645161
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Our division results in 15740.80645161 with a remaining 9e-09.