We look at the division of 505189 by 24 
We're looking to find how many times 24 goes into 505189.

Moving on to step 1:
The number 24 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 24

Step 2:
When dividing 50 by 24, we get 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 48 from 50, we get 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 24

Moving on to step 3:
If we divide 25 by 24, we get 1 and a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 21.0
If we subtract 24 from 25, we get 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 24

On to step 4:
24 goes into 11 0 times with a remainder of 11.
Record the quotient 0 as the next digit in the result. 
Result so far: 210.0
Deduct 0 from 11 and we're left with 11.
Grab the next digit (8) from the dividend, add it to 11, then carry on: 118 / 24

Going ahead to step 5:
If we divide 118 by 24, we get 4 and a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 2104.0
The remainder is 22 after subtracting 96 from 118.
Take the next digit (9) from the dividend and append it to 22, then repeat: 229 / 24

Moving on to step 6:
If we divide 229 by 24, we get 9 and a remainder of 13.
Record the quotient 9 as the next digit in the result. 
Result so far: 21049.0
Subtract 216 from 229 to 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.

On to step 7:
130 divided by 24 is 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 21049.5
If we subtract 120 from 130, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
24 goes into 100 4 times with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 21049.54
If we subtract 96 from 100, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
When dividing 40 by 24, we get 1 with a remainder of 16.
The next digit of our result is 1. 
Result so far: 21049.541
The remainder is 16 after subtracting 24 from 40.
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 10:
If we divide 160 by 24, we get 6 and a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 21049.5416
Subtract 144 from 160 to 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.

Moving on to step 11:
24 can be fit into 160 6 times, resulting in a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 21049.54166
If we take 144 away from 160, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final result is 21049.54166 with a remainder of 1.6e-05.