We divide 163187 by 31
Our goal is to divide 163187 by 31.

Moving on to step 1:
If we divide 1 by 31, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 31

Let's proceed to step 2:
If we divide 16 by 31, we get 0 and a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Include the next digit (3) from the dividend after 16, then repeat: 163 / 31

Moving on to step 3:
The number 31 fits into 163 5 times, leaving a remainder of 8.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 155 from 163, we get 8.
Append the next digit (1) from the dividend to 8 and continue with: 81 / 31

Moving on to step 4:
31 can be fit into 81 2 times, resulting in a remainder of 19.
Put 2 as the next digit of the answer. 
Result so far: 52.0
Subtract 62 from 81 to get 19.
Take the next digit (8) from the dividend and append it to 19, then repeat: 198 / 31

Advancing to step 5:
31 can be fit into 198 6 times, resulting in a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 526.0
Subtracting 186 from 198 leaves us with 12.
Append the next digit (7) from the dividend to 12 and continue with: 127 / 31

Going ahead to step 6:
31 can be fit into 127 4 times, resulting in a remainder of 3.
The next digit of our result is 4. 
Result so far: 5264.0
Subtracting 124 from 127 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
31 goes into 30 0 times with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 5264.0
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.

On to step 8:
300 divided by 31 is 9 with a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 5264.09
Deduct 279 from 300 and we're left 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.

Going ahead to step 9:
31 goes into 210 6 times with a remainder of 24.
The next digit of our result is 6. 
Result so far: 5264.096
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 10:
240 divided by 31 is 7 with a remainder of 23.
Write down 7 as next digit of the result. 
Result so far: 5264.0967
Subtracting 217 from 240 leaves us 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.

Advancing to step 11:
If we divide 230 by 31, we get 7 and a remainder of 13.
The next digit of our result is 7. 
Result so far: 5264.09677
Subtracting 217 from 230 leaves us 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.

The final result is 5264.09677 with a remainder of 1.3e-05.