5862 divided by 21 
We want to figure out the number of times 5862 can be divided by 21.

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

On to step 2:
21 can be fit into 58 2 times, resulting in a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 42 away from 58, we end up with 16.
Include the next digit (6) from the dividend after 16, then repeat: 166 / 21

Advancing to step 3:
The number 21 fits into 166 7 times, leaving a remainder of 19.
Record the quotient 7 as the next digit in the result. 
Result so far: 27.0
The remainder is 19 after subtracting 147 from 166.
Include the next digit (2) from the dividend after 19, then repeat: 192 / 21

Advancing to step 4:
21 can be fit into 192 9 times, resulting in a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 279.0
If we subtract 189 from 192, we get 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 5:
21 goes into 30 1 times with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 279.1
If we take 21 away from 30, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 6:
90 divided by 21 is 4 with a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 279.14
If we subtract 84 from 90, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
If we divide 60 by 21, we get 2 and a remainder of 18.
The next digit of our result is 2. 
Result so far: 279.142
Deduct 42 from 60 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.

Step 8:
21 can be fit into 180 8 times, resulting in a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 279.1428
Subtract 168 from 180 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 9:
21 can be fit into 120 5 times, resulting in a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 279.14285
If we take 105 away from 120, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 10:
The number 21 fits into 150 7 times, leaving a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 279.142857
If we subtract 147 from 150, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 11:
The number 21 fits into 30 1 times, leaving a remainder of 9.
The next digit of our result is 1. 
Result so far: 279.1428571
Deduct 21 from 30 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 12:
21 goes into 90 4 times with a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 279.14285714
If we subtract 84 from 90, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 279.14285714 with a remaining 6e-09.