Let's divide 585871 by 28
We're looking to find how many times 28 goes into 585871.

On to step 1:
If we divide 5 by 28, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 28

Step 2:
28 goes into 58 2 times with a remainder of 2.
The next digit of our result is 2. 
Result so far: 2.0
If we take 56 away from 58, we end up with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 28

Going ahead to step 3:
If we divide 25 by 28, we get 0 and a remainder of 25.
Use 0 as the next digit of our solution. 
Result so far: 20.0
Subtract 0 from 25 to get 25.
Grab the next digit (8) from the dividend, add it to 25, then carry on: 258 / 28

Advancing to step 4:
28 goes into 258 9 times with a remainder of 6.
The number 9 becomes the next digit in our result. 
Result so far: 209.0
If we take 252 away from 258, we end up with 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 28

Step 5:
28 can be fit into 67 2 times, resulting in a remainder of 11.
Put 2 as the next digit of the answer. 
Result so far: 2092.0
The remainder is 11 after subtracting 56 from 67.
Include the next digit (1) from the dividend after 11, then repeat: 111 / 28

Advancing to step 6:
When dividing 111 by 28, we get 3 with a remainder of 27.
The next digit of our result is 3. 
Result so far: 20923.0
Subtracting 84 from 111 leaves us 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:
270 divided by 28 is 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 20923.9
The remainder is 18 after subtracting 252 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 8:
When dividing 180 by 28, we get 6 with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 20923.96
The remainder is 12 after subtracting 168 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 9:
The number 28 fits into 120 4 times, leaving a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 20923.964
If we subtract 112 from 120, we 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.

Let's proceed to step 10:
80 divided by 28 is 2 with a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 20923.9642
Subtract 56 from 80 to 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.

On to step 11:
28 goes into 240 8 times with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 20923.96428
Subtracting 224 from 240 leaves us 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.

Going ahead to step 12:
The number 28 fits into 160 5 times, leaving a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 20923.964285
Subtract 140 from 160 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 13:
28 goes into 200 7 times with a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 20923.9642857
The remainder is 4 after subtracting 196 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 14:
The number 28 fits into 40 1 times, leaving a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 20923.96428571
Deduct 28 from 40 and we're left 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.

The quotient of the division is 20923.96428571, and the remainder is 1.2e-08.