I am looking at the Coupon Collector's problem. The classical result is that we need to collect $n \ln(n) + O(n)$ on average to have at least one coupon of each type.
I am searching for the number of coupons we need to collect to have at least $\frac{n}{2}$ different coupons, and I have a doubt on how to proceed.
Viewed as a balls and bins problem, this is equivalent to determining the number of balls to throw in order to have less than $\frac{n}{2}$ empty bins. If we throw $m$ balls into $n$ bins, it is know that the expected number of empty bins will be smaller or equal to $e^{-m/n}$. Hence by letting $m = \ln(2) \cdot n$ I have what I want.
However, if I try to solve it like in [1] or [2], I obtain that the number of balls is on average $nH_{n/2} \approx n \ln(n/2) + O(n)$ where $H_{n}$ is the $n$-th harmonic number.
Another approach is to count all the solutions that are acceptable ($n/2$, $n/2 + 1$, ..., $n$ non-empty bins) yielding $n(H_n - H_{n/2}) \approx n\ln(2) + O(n)$ which is what I want.
Which approach is correct?
[1] Mitzenmacher, Michael, and Eli Upfal. Probability and computing: Randomized algorithms and probabilistic analysis. Cambridge university press, 2005.
[2] Motwani, Rajeev, and Prabhakar Raghavan. Randomized algorithms. Chapman & Hall/CRC, 2010.