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

Let's proceed to step 1:
24 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 24

Let's proceed to step 2:
24 can be fit into 50 2 times, resulting in a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 48 away from 50, we end up with 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 24

Going ahead to step 3:
24 divided by 24 is 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 21.0
The remainder is 0 after subtracting 24 from 24.
Bring next digit (8) of the dividend behind the 0 and repeat the process: 8 / 24

Let's proceed to step 4:
If we divide 8 by 24, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 210.0
If we subtract 0 from 8, we get 8.
Grab the next digit (5) from the dividend, add it to 8, then carry on: 85 / 24

Moving on to step 5:
24 can be fit into 85 3 times, resulting in a remainder of 13.
Write down 3 as next digit of the result. 
Result so far: 2103.0
Deduct 72 from 85 and we're left with 13.
Take the next digit (7) from the dividend and append it to 13, then repeat: 137 / 24

Step 6:
24 goes into 137 5 times with a remainder of 17.
Write down 5 as next digit of the result. 
Result so far: 21035.0
The remainder is 17 after subtracting 120 from 137.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 7:
24 can be fit into 170 7 times, resulting in a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 21035.7
If we take 168 away from 170, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
24 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 21035.7
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
When dividing 200 by 24, we get 8 with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 21035.708
If we take 192 away from 200, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
24 goes into 80 3 times with a remainder of 8.
Write down 3 as next digit of the result. 
Result so far: 21035.7083
If we subtract 72 from 80, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 11:
80 divided by 24 is 3 with a remainder of 8.
The next digit of our result is 3. 
Result so far: 21035.70833
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final result is 21035.70833 with a remainder of 8e-06.