I am stuck in the following problem and need some help.
The probability that an experiment has a successful outcome is 0.8. The experiment is to be repeated until five successful outcomes occurred. How many repetitions are required in order to have 5 successful outcomes?
The possible solution I could come up with is by solving the following equation for $n$. $$\binom{n-1}{4} \cdot (0.8)^5 \cdot (0.2)^{n-1-4} < 1 $$ Now, how to find the value of $n$ such that LHS is max. Kindly comment.