In a certain contest, the players are of equal skill and the probability is $\frac{1}{2}$ that a specified one of the two contestants will be the victor. In a group of $2^{n}$ players, the players are paired off against each other at random. The $2^{n-1}$ winners are again paired off randomly, and so on, until a single winner remains. Consider two specified contestants, $A$ and
$B,$ and define the events $A_{i}, i \leq n, E$ by
$A_{i}: \quad A$ plays in exactly $i$ contests
$E: A$ and $B$ never play each other
(a) Find $P\left(A_{i}\right), i=1, \ldots, n$
(b) Find $P(E)$
(c) Let $P_{n}=P(E) .$ Show that
$$
P_{n}=\frac{1}{2^{n}-1}+\frac{2^{n}-2}{2^{n}-1}\left(\frac{1}{2}\right)^{2} P_{n-1}
$$
and use this formula to check the answer you obtained in part (b).
Hint: Find $P(E)$ by conditioning on which of the events
$A_{i}, i=1, \ldots, n$ occur. In simplifying your answer, use the algebraic identity
$$
\sum_{i=1}^{n-1} i x^{i-1}=\frac{1-n x^{n-1}+(n-1) x^{n}}{(1-x)^{2}}
$$
For another approach to solving this problem, note that there are a total of $2^{n}-1$ games played.
(d) Explain why $2^{n}-1$ games are played. Number these games, and let $B_{i}$ denote the event that $A$ and $B$ play each other in game $i, i=1, \ldots, 2^{n}-1$
(e) What is $P\left(B_{i}\right) ?$
(f) Use part (e) to find $P(E)$