We look at the division of 504148 by 24 
Let's see how many times 24 fits into 504148.

Step 1:
If we divide 5 by 24, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 24

Going ahead to step 2:
50 divided by 24 is 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 48 from 50, we get 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 24

On to step 3:
If we divide 24 by 24, we get 1 and a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 21.0
The remainder is 0 after subtracting 24 from 24.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 24

Moving on to step 4:
24 goes into 1 0 times with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 210.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 24

On to step 5:
When dividing 14 by 24, we get 0 with a remainder of 14.
The number 0 becomes the next digit in our result. 
Result so far: 2100.0
Deduct 0 from 14 and we're left with 14.
Grab the next digit (8) from the dividend, add it to 14, then carry on: 148 / 24

Moving on to step 6:
If we divide 148 by 24, we get 6 and a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 21006.0
The remainder is 4 after subtracting 144 from 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 7:
40 divided by 24 is 1 with a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 21006.1
Subtracting 24 from 40 leaves us 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.

Let's proceed to step 8:
24 goes into 160 6 times with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 21006.16
Subtracting 144 from 160 leaves us 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.

Going ahead to step 9:
If we divide 160 by 24, we get 6 and a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 21006.166
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.

The quotient of the division is 21006.166, and the remainder is 0.0016.