We look at the division of 502585 by 21 
We want to divide 502585 by 21.

Advancing to step 1:
21 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 21

Moving on to step 2:
21 goes into 50 2 times with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 42 from 50 and we're left with 8.
Append the next digit (2) from the dividend to 8 and continue with: 82 / 21

On to step 3:
When dividing 82 by 21, we get 3 with a remainder of 19.
Put 3 as the next digit of the answer. 
Result so far: 23.0
Subtracting 63 from 82 leaves us with 19.
Take the next digit (5) from the dividend and append it to 19, then repeat: 195 / 21

Let's proceed to step 4:
If we divide 195 by 21, we get 9 and a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 239.0
If we take 189 away from 195, we end up with 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 21

Moving on to step 5:
If we divide 68 by 21, we get 3 and a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 2393.0
If we take 63 away from 68, we end up with 5.
Fetch the next digit (5) from the dividend, attach it to 5 and continue: 55 / 21

Moving on to step 6:
The number 21 fits into 55 2 times, leaving a remainder of 13.
The next digit of our result is 2. 
Result so far: 23932.0
Subtract 42 from 55 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 7:
The number 21 fits into 130 6 times, leaving a remainder of 4.
The next digit of our result is 6. 
Result so far: 23932.6
Subtract 126 from 130 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.

Let's proceed to step 8:
When dividing 40 by 21, we get 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 23932.61
If we take 21 away from 40, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 9:
When dividing 190 by 21, we get 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 23932.619
The remainder is 1 after subtracting 189 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 10:
21 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 23932.619
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 11:
If we divide 100 by 21, we get 4 and a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 23932.61904
Subtract 84 from 100 to get 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:
21 goes into 160 7 times with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 23932.619047
If we subtract 147 from 160, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 13:
130 divided by 21 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 23932.6190476
Subtract 126 from 130 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.

Step 14:
21 can be fit into 40 1 times, resulting in a remainder of 19.
The next digit of our result is 1. 
Result so far: 23932.61904761
Deduct 21 from 40 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final result is 23932.61904761 with a remainder of 1.9e-08.