Let's divide 504712 by 24
We're looking to find how many times 24 goes into 504712.

Moving on to step 1:
When dividing 5 by 24, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 24

Let's proceed to step 2:
When dividing 50 by 24, we get 2 with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 48 from 50, we get 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 24

Advancing to step 3:
When dividing 24 by 24, we get 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 21.0
If we subtract 24 from 24, we get 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 24

Going ahead to step 4:
7 divided by 24 is 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 210.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (1) from the dividend, attach it to 7 and continue: 71 / 24

Let's proceed to step 5:
24 goes into 71 2 times with a remainder of 23.
Put 2 as the next digit of the answer. 
Result so far: 2102.0
If we subtract 48 from 71, we get 23.
Include the next digit (2) from the dividend after 23, then repeat: 232 / 24

Moving on to step 6:
If we divide 232 by 24, we get 9 and a remainder of 16.
Use 9 as the next digit of our solution. 
Result so far: 21029.0
Deduct 216 from 232 and we're left 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.

Advancing to step 7:
The number 24 fits into 160 6 times, leaving a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 21029.6
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.

Step 8:
24 goes into 160 6 times with a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 21029.66
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.

In conclusion, the division gives 21029.66 with a balance of 0.016.