340142 ÷ 24 
Let's see how many times 24 fits into 340142.

Going ahead to step 1:
The number 24 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 24

Moving on to step 2:
When dividing 34 by 24, we get 1 with a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 24 from 34 leaves us with 10.
Include the next digit (0) from the dividend after 10, then repeat: 100 / 24

Let's proceed to step 3:
100 divided by 24 is 4 with a remainder of 4.
The next digit of our result is 4. 
Result so far: 14.0
If we take 96 away from 100, we end up with 4.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 24

Advancing to step 4:
When dividing 41 by 24, we get 1 with a remainder of 17.
The next digit of our result is 1. 
Result so far: 141.0
If we take 24 away from 41, we end up with 17.
Bring next digit (4) of the dividend behind the 17 and repeat the process: 174 / 24

Let's proceed to step 5:
When dividing 174 by 24, we get 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 1417.0
Subtract 168 from 174 to get 6.
Take the next digit (2) from the dividend and append it to 6, then repeat: 62 / 24

On to step 6:
62 divided by 24 is 2 with a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 14172.0
If we take 48 away from 62, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 7:
140 divided by 24 is 5 with a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 14172.5
Subtract 120 from 140 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
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: 14172.58
The remainder is 8 after subtracting 192 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 9:
The number 24 fits into 80 3 times, leaving a remainder of 8.
The number 3 becomes the next digit in our result. 
Result so far: 14172.583
Deduct 72 from 80 and we're left 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:
If we divide 80 by 24, we get 3 and a remainder of 8.
Use 3 as the next digit of our solution. 
Result so far: 14172.5833
If we take 72 away from 80, 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.

The quotient of the division is 14172.5833, and the remainder is 8e-05.