Consider the expected number of Bernouilli trials needed to get $n$ successes with the probability of one success each time being $p$ ($0 < p < 1$). This number should be $\frac{n}{p}$.
I tried to derive this case by case and got the expression
$$
\sum_{k=n}^{\infty}\frac{(k-1)!}{(n-1)!(k-n)!}\cdot p^{n}\cdot(1-p)^{k-n}\cdot k
$$
The problem is, how does this equate to $\frac{n}{p}$? I can't seem to figure out how to derive it from the expression above.
Apologies if this question appeared before. I tried searching, but all I could find was the expected value of the binomial distribution, which may be similar but is not the case here.
On a side note, suppose instead that for each success I put a marble in a bag, but there are $b$ bags in total. What then is the expected value to reach $n$ marbles in all of them? Surely, this should not be $b\frac{n}{p}$. How would I approach this?