There is a discrete process that yields one of 3 outputs at each trial: $A$ with probability $p_{A}$, $B$ with $p_{B}$ and $STOP$ with probability $1 - p_{A} - p_{B}$ (the process terminates after yielding $STOP$). Let $X$ and $Y$ be a number of $A$'s and $B$'s we get till the process terminates. Then
a) compute $E(X), Var(X)$ ... It smells like quasi-geometric distribution but I can't figure out how to attack it as it is potentially infinite ...
b) find the smallest $a > 0$ such that $P(X > n) = O(a^{n})$
c) are $X$ and $Y$ independent?
For b), how to get $P(X > n)$ or $P(X <= n)$?
For c) I think the easiest way is to check if $P(X=k, Y = l) = P(X=k)P(Y=l)$ for all $k, l$. LHS is straightforward as I know when the process stops so it is $\binom{k+l}{k}p_{A}^{k}p_{B}^{l} = (p_{A} + p_{B})^{k+l}$ but how to get $P(X=k)$? (so pretty the same issue as for b))
Thank you in advance