We look at the division of 506244 by 21 
Let's see how many times 21 fits into 506244.

Moving on to step 1:
21 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 21

Let's proceed to step 2:
21 goes into 50 2 times with 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 (6) from the dividend, attach it to 8 and continue: 86 / 21

Advancing to step 3:
21 goes into 86 4 times with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 24.0
The remainder is 2 after subtracting 84 from 86.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 21

Advancing to step 4:
21 goes into 22 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 241.0
If we subtract 21 from 22, we get 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 21

Going ahead to step 5:
21 can be fit into 14 0 times, resulting in a remainder of 14.
Write down 0 as next digit of the result. 
Result so far: 2410.0
Subtracting 0 from 14 leaves us with 14.
Append the next digit (4) from the dividend to 14 and continue with: 144 / 21

On to step 6:
21 can be fit into 144 6 times, resulting in a remainder of 18.
The next digit of our result is 6. 
Result so far: 24106.0
The remainder is 18 after subtracting 126 from 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 7:
If we divide 180 by 21, we get 8 and a remainder of 12.
The next digit of our result is 8. 
Result so far: 24106.8
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 8:
The number 21 fits into 120 5 times, leaving a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 24106.85
Subtract 105 from 120 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 9:
21 goes into 150 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 24106.857
Subtract 147 from 150 to 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.

Let's proceed to step 10:
21 can be fit into 30 1 times, resulting in a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 24106.8571
The remainder is 9 after subtracting 21 from 30.
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 11:
21 can be fit into 90 4 times, resulting in a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 24106.85714
Deduct 84 from 90 and we're left 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.

Advancing to step 12:
When dividing 60 by 21, we get 2 with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 24106.857142
Subtract 42 from 60 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 13:
When dividing 180 by 21, we get 8 with a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 24106.8571428
The remainder is 12 after subtracting 168 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 14:
The number 21 fits into 120 5 times, leaving a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 24106.85714285
Subtract 105 from 120 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The quotient of the division is 24106.85714285, and the remainder is 1.5e-08.