We divide 585302 by 21
We want to divide 585302 by 21.

Let's proceed to step 1:
When dividing 5 by 21, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 21

Moving on to step 2:
The number 21 fits into 58 2 times, leaving a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 42 from 58 to get 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 21

Step 3:
The number 21 fits into 165 7 times, leaving a remainder of 18.
Put 7 as the next digit of the answer. 
Result so far: 27.0
Subtract 147 from 165 to get 18.
Take the next digit (3) from the dividend and append it to 18, then repeat: 183 / 21

Advancing to step 4:
183 divided by 21 is 8 with a remainder of 15.
Use 8 as the next digit of our solution. 
Result so far: 278.0
Subtracting 168 from 183 leaves us with 15.
Bring next digit (0) of the dividend behind the 15 and repeat the process: 150 / 21

Let's proceed to step 5:
21 can be fit into 150 7 times, resulting in a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 2787.0
If we take 147 away from 150, we end up with 3.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 21

Moving on to step 6:
21 goes into 32 1 times with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 27871.0
If we subtract 21 from 32, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
110 divided by 21 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 27871.5
If we subtract 105 from 110, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 8:
21 goes into 50 2 times with a remainder of 8.
The next digit of our result is 2. 
Result so far: 27871.52
The remainder is 8 after subtracting 42 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
80 divided by 21 is 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 27871.523
Subtract 63 from 80 to 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:
21 can be fit into 170 8 times, resulting in a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 27871.5238
Deduct 168 from 170 and we're left 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:
21 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 27871.5238
Subtracting 0 from 20 leaves us with 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:
When dividing 200 by 21, we get 9 with a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 27871.523809
Subtracting 189 from 200 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 13:
110 divided by 21 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 27871.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.

On to step 14:
When dividing 50 by 21, we get 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 27871.52380952
The remainder is 8 after subtracting 42 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 27871.52380952 and a remainder of 8e-09.