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

Going ahead 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
If we subtract 0 from 5, we get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 21

Going ahead to step 2:
When dividing 50 by 21, we get 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 42 from 50 leaves us with 8.
Include the next digit (5) from the dividend after 8, then repeat: 85 / 21

Moving on to step 3:
When dividing 85 by 21, we get 4 with a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 24.0
The remainder is 1 after subtracting 84 from 85.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 21

Let's proceed to step 4:
The number 21 fits into 16 0 times, leaving a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 240.0
If we take 0 away from 16, we end up with 16.
Bring next digit (3) of the dividend behind the 16 and repeat the process: 163 / 21

Moving on to step 5:
21 goes into 163 7 times with a remainder of 16.
Put 7 as the next digit of the answer. 
Result so far: 2407.0
The remainder is 16 after subtracting 147 from 163.
Take the next digit (1) from the dividend and append it to 16, then repeat: 161 / 21

On to step 6:
If we divide 161 by 21, we get 7 and a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 24077.0
Subtracting 147 from 161 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 7:
140 divided by 21 is 6 with a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 24077.6
The remainder is 14 after subtracting 126 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 8:
When dividing 140 by 21, we get 6 with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 24077.66
Subtracting 126 from 140 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final outcome is 24077.66, with a leftover of 0.014.