We look at the division of 505947 by 21 
We want to figure out the number of times 505947 can be divided by 21.

On to step 1:
If we divide 5 by 21, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 21

Going ahead to step 2:
21 can be fit into 50 2 times, resulting in a remainder of 8.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 42 from 50, we get 8.
Append the next digit (5) from the dividend to 8 and continue with: 85 / 21

Moving on to step 3:
85 divided by 21 is 4 with a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 24.0
Subtracting 84 from 85 leaves us with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 21

Going ahead to step 4:
19 divided by 21 is 0 with a remainder of 19.
Record the quotient 0 as the next digit in the result. 
Result so far: 240.0
If we subtract 0 from 19, we get 19.
Bring next digit (4) of the dividend behind the 19 and repeat the process: 194 / 21

Let's proceed to step 5:
The number 21 fits into 194 9 times, leaving a remainder of 5.
Write down 9 as next digit of the result. 
Result so far: 2409.0
If we take 189 away from 194, we end up with 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 21

On to step 6:
The number 21 fits into 57 2 times, leaving a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 24092.0
Deduct 42 from 57 and we're left 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.

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

Moving on to step 8:
30 divided by 21 is 1 with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 24092.71
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.

Step 9:
The number 21 fits into 90 4 times, leaving a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 24092.714
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 10:
When dividing 60 by 21, we get 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 24092.7142
Subtracting 42 from 60 leaves us 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.

Moving on to step 11:
The number 21 fits into 180 8 times, leaving a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 24092.71428
Subtracting 168 from 180 leaves us 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.

Moving on to step 12:
If we divide 120 by 21, we get 5 and a remainder of 15.
The next digit of our result is 5. 
Result so far: 24092.714285
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.

Going ahead to step 13:
21 can be fit into 150 7 times, resulting in a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 24092.7142857
If we take 147 away from 150, we end up 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.

Advancing to step 14:
The number 21 fits into 30 1 times, leaving a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 24092.71428571
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.

The final outcome is 24092.71428571, with a leftover of 9e-09.