I have a box with $A$ red balls and $B$ blue balls, from which I sample with replacement with uniform probability for each ball. This would imply that the probability of selecting a blue ball would simply be $\frac{B}{A+B}$. I keep sampling with replacement until I select a blue ball exactly $k$ times, and as such, the mean for the total number of times I need to sample from the box for this to occur, $M$, should be $Mean[M] = \frac{k*(A+B)}{B}$.
However, how does the variance for $M$, the total number of samplings required to observe a blue ball $k$ times, change as a function of $k$?