So the problem is: Consider tossing a coin, with outcomes, $H$&$T$, and $P(H) = a$, independently for $5$ times. Each time, if you get a head, you pick up $X = x_0$ green balls and if you get a tail, you pick up $Y = y_0$ red ball. You then put the balls in a row, following the order of obtaining them, to provide a pattern. You find out you will totally have $M$ different patterns. Which of the following statement is correct?
$(A)$ $ M$ depends on $a$ (is a function of $a$).
$(B)$ You would have a larger $M$ if $x_0$ > $y_0$.
$(C)$ $M$ does not change with the values of $(x_0,y_0)$.
So the answer is $C$. But why isn't A correct? if $P(H) = 0$, wouldn't $M$ always be 1 then? If $P(H) = 0.5$, then $M$ is absolutely not $1$. So I think $M$ depends on $a$?
And for $C$,the solution says $M$ will always be $2^5$, why is that?