We have a rigged coin, the probability of obtaining heads is triple that of obtaining tails.
Consider the variable $X$ defined as follows: We flip the coin twice in a row.
- If Heads are obtained on the first roll and Tails on the second, we take $X = 1$.
- If you get Tails on the first roll and Heads on the second, we take $X = 2$.
- Otherwise, the coin is tossed twice (If you get any outcome other than or you repeat the process from the start.)
I want to find the density function of the variable but I'm confusing with that "Otherwise" means, the probability of getting head first and then tail is $\frac{3}{4}*\frac{1}{4} = \frac{3}{16}$, same for the first tail and then head. So $P[X=1] = 3/16$ and $P[X=2] = 3/16$, is this enough or I'm missing something? Any help is appreciated!