We're dividing 50186 by 31 
Let's see how many times 31 fits into 50186.

Step 1:
31 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 31

Let's proceed to step 2:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 31 from 50 and we're left with 19.
Grab the next digit (1) from the dividend, add it to 19, then carry on: 191 / 31

Step 3:
191 divided by 31 is 6 with a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Deduct 186 from 191 and we're left with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 31

Step 4:
The number 31 fits into 58 1 times, leaving a remainder of 27.
Record the quotient 1 as the next digit in the result. 
Result so far: 161.0
The remainder is 27 after subtracting 31 from 58.
Take the next digit (6) from the dividend and append it to 27, then repeat: 276 / 31

Advancing to step 5:
If we divide 276 by 31, we get 8 and a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 1618.0
Subtracting 248 from 276 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 6:
280 divided by 31 is 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 1618.9
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
When dividing 10 by 31, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 1618.9
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
31 can be fit into 100 3 times, resulting in a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 1618.903
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 9:
If we divide 70 by 31, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 1618.9032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 1618.90322
Subtracting 62 from 80 leaves us 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.

Our division results in 1618.90322 with a remaining 1.8e-05.