587213 divided by 21 
Let's see how many times 21 fits into 587213.

Moving on to step 1:
If we divide 5 by 21, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
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 / 21

Moving on to step 2:
The number 21 fits into 58 2 times, leaving a remainder of 16.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 16 after subtracting 42 from 58.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 21

Going ahead to step 3:
21 goes into 167 7 times with a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 27.0
The remainder is 20 after subtracting 147 from 167.
Take the next digit (2) from the dividend and append it to 20, then repeat: 202 / 21

Let's proceed to step 4:
21 goes into 202 9 times with a remainder of 13.
The number 9 becomes the next digit in our result. 
Result so far: 279.0
If we take 189 away from 202, we end up with 13.
Bring next digit (1) of the dividend behind the 13 and repeat the process: 131 / 21

On to step 5:
21 goes into 131 6 times with a remainder of 5.
The number 6 becomes the next digit in our result. 
Result so far: 2796.0
Subtracting 126 from 131 leaves us with 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 21

Let's proceed to step 6:
The number 21 fits into 53 2 times, leaving a remainder of 11.
Write down 2 as next digit of the result. 
Result so far: 27962.0
The remainder is 11 after subtracting 42 from 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 7:
If we divide 110 by 21, we get 5 and a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 27962.5
Deduct 105 from 110 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 8:
When dividing 50 by 21, we get 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 27962.52
If we take 42 away from 50, 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.

On to step 9:
80 divided by 21 is 3 with a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 27962.523
If we subtract 63 from 80, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 10:
When dividing 170 by 21, we get 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 27962.5238
Subtracting 168 from 170 leaves us with 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 11:
The number 21 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 27962.5238
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 12:
The number 21 fits into 200 9 times, leaving a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 27962.523809
The remainder is 11 after subtracting 189 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 13:
21 goes into 110 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 27962.5238095
Deduct 105 from 110 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.

Going ahead to step 14:
The number 21 fits into 50 2 times, leaving a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 27962.52380952
If we subtract 42 from 50, 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.

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