401242 divided by 24 
We're looking to find how many times 24 goes into 401242.

Let's proceed to step 1:
24 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 24

Advancing to step 2:
24 goes into 40 1 times with a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 24 from 40, we get 16.
Fetch the next digit (1) from the dividend, attach it to 16 and continue: 161 / 24

On to step 3:
When dividing 161 by 24, we get 6 with a remainder of 17.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
If we take 144 away from 161, we end up with 17.
Include the next digit (2) from the dividend after 17, then repeat: 172 / 24

Let's proceed to step 4:
24 can be fit into 172 7 times, resulting in a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 167.0
If we subtract 168 from 172, we get 4.
Take the next digit (4) from the dividend and append it to 4, then repeat: 44 / 24

Advancing to step 5:
The number 24 fits into 44 1 times, leaving a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 1671.0
Subtracting 24 from 44 leaves us with 20.
Fetch the next digit (2) from the dividend, attach it to 20 and continue: 202 / 24

Let's proceed to step 6:
The number 24 fits into 202 8 times, leaving a remainder of 10.
The number 8 becomes the next digit in our result. 
Result so far: 16718.0
If we subtract 192 from 202, 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.

Let's proceed to step 7:
When dividing 100 by 24, we get 4 with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 16718.4
If we take 96 away from 100, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
If we divide 40 by 24, we get 1 and a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 16718.41
Deduct 24 from 40 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.

Let's proceed to step 9:
24 goes into 160 6 times with a remainder of 16.
The next digit of our result is 6. 
Result so far: 16718.416
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.

Step 10:
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: 16718.4166
The remainder is 16 after subtracting 144 from 160.
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 16718.4166, and the remainder is 0.00016.