The exercise
A batch of 30 bulbs contains two defective ones. A random sample with no batch return of size 4 is obtained.
a) What is the probability that the sample contains at least one defective bulb?
b) What should be the size of the sample, so that the probability of finding at least one defective bulb, is at least 0.5?
My solution
Let $X$ be the number of defective bulbs in a sample of size $n$, with $$ X \sim \mathrm{Hypergeometric}(30,2,n). $$ a) $P(X≥1) = 1-f_X(0) = 0.252873563... \Leftrightarrow n=4$
b) $P(X≥1)≥0.5 \Leftrightarrow n=k$
- $P(X≥1) = 1-f_X(0) = 1-\dfrac{\binom{28}{n}}{\binom{30}{n}}≥0.5 \Leftrightarrow n=k$
- $P(X≥1)$ grows as $n$ grows $\Rightarrow$ if $P(X≥1) = 0.5$ for $n = k \Rightarrow n≥k$ for which $P(X≥1)≥0.5$
And I came here, but I do not know if the reasoning is right. And if it's okay, I also do not know how to get the value of $k$, so that $n$ is greater than or equal to that $k$.