162727 ÷ 31 
We want to divide 162727 by 31.

Moving on to step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 31

On to step 2:
31 can be fit into 16 0 times, resulting in a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Take the next digit (2) from the dividend and append it to 16, then repeat: 162 / 31

On to step 3:
The number 31 fits into 162 5 times, leaving a remainder of 7.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtract 155 from 162 to get 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 31

Moving on to step 4:
31 goes into 77 2 times with a remainder of 15.
Write down 2 as next digit of the result. 
Result so far: 52.0
Deduct 62 from 77 and we're left with 15.
Append the next digit (2) from the dividend to 15 and continue with: 152 / 31

Going ahead to step 5:
When dividing 152 by 31, we get 4 with a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 524.0
If we subtract 124 from 152, we get 28.
Include the next digit (7) from the dividend after 28, then repeat: 287 / 31

Moving on to step 6:
When dividing 287 by 31, we get 9 with a remainder of 8.
Put 9 as the next digit of the answer. 
Result so far: 5249.0
The remainder is 8 after subtracting 279 from 287.
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 7:
80 divided by 31 is 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 5249.2
Deduct 62 from 80 and we're left 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.

Step 8:
If we divide 180 by 31, we get 5 and a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 5249.25
If we take 155 away from 180, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 9:
31 goes into 250 8 times with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 5249.258
Subtract 248 from 250 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 10:
20 divided by 31 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 5249.258
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 11:
If we divide 200 by 31, we get 6 and a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 5249.25806
Deduct 186 from 200 and we're left 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.

Step 12:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 5249.258064
Deduct 124 from 140 and we're left 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.

Let's proceed to step 13:
The number 31 fits into 160 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 5249.2580645
Deduct 155 from 160 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.

On to step 14:
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: 5249.25806451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

In conclusion, the division gives 5249.25806451 with a balance of 1.9e-08.