495314 divided by 31 
Let's see how many times 31 fits into 495314.

Let's proceed to step 1:
31 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 31

Going ahead to step 2:
31 goes into 49 1 times with a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 31 from 49, we get 18.
Include the next digit (5) from the dividend after 18, then repeat: 185 / 31

Let's proceed to step 3:
185 divided by 31 is 5 with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 15.0
Subtract 155 from 185 to get 30.
Append the next digit (3) from the dividend to 30 and continue with: 303 / 31

Let's proceed to step 4:
If we divide 303 by 31, we get 9 and a remainder of 24.
Record the quotient 9 as the next digit in the result. 
Result so far: 159.0
Deduct 279 from 303 and we're left with 24.
Include the next digit (1) from the dividend after 24, then repeat: 241 / 31

Step 5:
If we divide 241 by 31, we get 7 and a remainder of 24.
Use 7 as the next digit of our solution. 
Result so far: 1597.0
Deduct 217 from 241 and we're left with 24.
Include the next digit (4) from the dividend after 24, then repeat: 244 / 31

Step 6:
The number 31 fits into 244 7 times, leaving a remainder of 27.
Use 7 as the next digit of our solution. 
Result so far: 15977.0
Deduct 217 from 244 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 7:
31 can be fit into 270 8 times, resulting in a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 15977.8
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 8:
If we divide 220 by 31, we get 7 and a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 15977.87
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 9:
30 divided by 31 is 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 15977.87
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 10:
31 can be fit into 300 9 times, resulting in a remainder of 21.
The next digit of our result is 9. 
Result so far: 15977.8709
If we take 279 away from 300, we end up 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.

Advancing to step 11:
31 goes into 210 6 times with a remainder of 24.
The next digit of our result is 6. 
Result so far: 15977.87096
If we take 186 away from 210, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
If we divide 240 by 31, we get 7 and a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 15977.870967
Deduct 217 from 240 and we're left 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 13:
31 can be fit into 230 7 times, resulting in a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 15977.8709677
If we take 217 away from 230, we end up 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.

In conclusion, the division gives 15977.8709677 with a balance of 1.3e-07.