We're dividing 504517 by 21 
We want to figure out the number of times 504517 can be divided by 21.

Going ahead to step 1:
5 divided by 21 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 21

On to step 2:
21 goes into 50 2 times with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 42 from 50 leaves us with 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 21

Advancing to step 3:
When dividing 84 by 21, we get 4 with a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 24.0
Subtract 84 from 84 to get 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 21

Moving on to step 4:
21 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 240.0
If we subtract 0 from 5, we get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 21

Moving on to step 5:
The number 21 fits into 51 2 times, leaving a remainder of 9.
The number 2 becomes the next digit in our result. 
Result so far: 2402.0
Subtracting 42 from 51 leaves us with 9.
Bring next digit (7) of the dividend behind the 9 and repeat the process: 97 / 21

On to step 6:
21 goes into 97 4 times with a remainder of 13.
Write down 4 as next digit of the result. 
Result so far: 24024.0
If we take 84 away from 97, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 7:
21 can be fit into 130 6 times, resulting in a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 24024.6
Deduct 126 from 130 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 8:
40 divided by 21 is 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 24024.61
If we subtract 21 from 40, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 9:
If we divide 190 by 21, we get 9 and a remainder of 1.
The next digit of our result is 9. 
Result so far: 24024.619
Subtract 189 from 190 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 10:
21 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 24024.619
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 11:
If we divide 100 by 21, we get 4 and a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 24024.61904
If we subtract 84 from 100, we 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.
The number 7 becomes the next digit in our result. 
Result so far: 24024.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.

Let's proceed to step 13:
130 divided by 21 is 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 24024.6190476
Subtracting 126 from 130 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 14:
40 divided by 21 is 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 24024.61904761
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.

After the division, we end up with 24024.61904761 and a remainder of 1.9e-08.