We look at the division of 50586 by 28 
Let's see how many times 28 fits into 50586.

Moving on to step 1:
28 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 28

Advancing to step 2:
28 goes into 50 1 times with a remainder of 22.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 28 from 50 leaves us with 22.
Grab the next digit (5) from the dividend, add it to 22, then carry on: 225 / 28

Going ahead to step 3:
28 can be fit into 225 8 times, resulting in a remainder of 1.
The next digit of our result is 8. 
Result so far: 18.0
If we take 224 away from 225, we end up with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 28

Going ahead to step 4:
28 can be fit into 18 0 times, resulting in a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 180.0
Subtracting 0 from 18 leaves us with 18.
Grab the next digit (6) from the dividend, add it to 18, then carry on: 186 / 28

Moving on to step 5:
When dividing 186 by 28, we get 6 with a remainder of 18.
The next digit of our result is 6. 
Result so far: 1806.0
Deduct 168 from 186 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.

Advancing to step 6:
180 divided by 28 is 6 with a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 1806.6
If we take 168 away from 180, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 7:
If we divide 120 by 28, we get 4 and a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 1806.64
Subtract 112 from 120 to get 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 8:
The number 28 fits into 80 2 times, leaving a remainder of 24.
The next digit of our result is 2. 
Result so far: 1806.642
If we take 56 away from 80, 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.

Going ahead to step 9:
28 can be fit into 240 8 times, resulting in a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 1806.6428
If we take 224 away from 240, we end up 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.

Step 10:
If we divide 160 by 28, we get 5 and a remainder of 20.
The next digit of our result is 5. 
Result so far: 1806.64285
The remainder is 20 after subtracting 140 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
28 can be fit into 200 7 times, resulting in a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 1806.642857
Subtract 196 from 200 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 12:
28 can be fit into 40 1 times, resulting in a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 1806.6428571
Subtract 28 from 40 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 13:
When dividing 120 by 28, we get 4 with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 1806.64285714
Deduct 112 from 120 and we're left 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.

The final outcome is 1806.64285714, with a leftover of 8e-09.