504780 ÷ 21 
We're looking to find how many times 21 goes into 504780.

On 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
Subtract 0 from 5 to get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 21

Advancing to step 2:
The number 21 fits into 50 2 times, leaving a remainder of 8.
The next digit of our result is 2. 
Result so far: 2.0
If we take 42 away from 50, we end up with 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 21

On to step 3:
If we divide 84 by 21, we get 4 and a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 24.0
Subtract 84 from 84 to get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 21

On to step 4:
7 divided by 21 is 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 240.0
Deduct 0 from 7 and we're left with 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 21

Let's proceed to step 5:
78 divided by 21 is 3 with a remainder of 15.
The next digit of our result is 3. 
Result so far: 2403.0
Subtract 63 from 78 to get 15.
Bring next digit (0) of the dividend behind the 15 and repeat the process: 150 / 21

Let's proceed to step 6:
When dividing 150 by 21, we get 7 with a remainder of 3.
The next digit of our result is 7. 
Result so far: 24037.0
The remainder is 3 after subtracting 147 from 150.
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 7:
21 goes into 30 1 times with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 24037.1
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.

Let's proceed to step 8:
21 goes into 90 4 times with a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 24037.14
If we take 84 away from 90, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 9:
60 divided by 21 is 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 24037.142
If we take 42 away from 60, we end up 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 10:
180 divided by 21 is 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 24037.1428
Deduct 168 from 180 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 11:
If we divide 120 by 21, we get 5 and a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 24037.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.

Step 12:
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: 24037.142857
Deduct 147 from 150 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 13:
The number 21 fits into 30 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 24037.1428571
Subtract 21 from 30 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 14:
When dividing 90 by 21, we get 4 with a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 24037.14285714
Subtracting 84 from 90 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 24037.14285714, and the remainder is 6e-09.