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

Going ahead to step 1:
If we divide 1 by 24, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 24

Going ahead to step 2:
When dividing 16 by 24, we get 0 with a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Grab the next digit (5) from the dividend, add it to 16, then carry on: 165 / 24

Advancing to step 3:
When dividing 165 by 24, we get 6 with a remainder of 21.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtracting 144 from 165 leaves us with 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 24

Moving on to step 4:
218 divided by 24 is 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 69.0
Subtract 216 from 218 to get 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 24

Going ahead to step 5:
If we divide 26 by 24, we get 1 and a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 691.0
If we take 24 away from 26, we end up with 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 24

Advancing to step 6:
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: 6911.0
Subtract 24 from 24 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 7:
24 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 6911.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
24 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 6911.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 6911.0, with a leftover of 0.0.