Here is the question:
Find the expected value and variance of the number of times one must throw a dice until the element $1$ has been obtained $4$ times.
My attempt:
The minimum number of throws required to get $4$ ones is $4$ when each of the subsequent throws gives a result of $1$. Using binomial, the probability of this case is ${4 \choose 4}(\frac{1}{6})^4(\frac{5}{6})^0$.
Similarly, for the case when we throw the dice $5$ times and obtain $1$ four out of the five times, the probability becomes ${4 \choose 4}(\frac{1}{6})^4(\frac{5}{6})^1$.
I was able to generalize the expectation as: $$E(n) = \sum_{n=0}^{\infty}(n+4){n+4 \choose 4}(\frac{1}{6})^{4}(\frac{5}{6})^n$$
I'm stuck here and can't think of any way to go forward.