We have a standard deck of cards. Find the expected number of cards after the first $2$ and before the first ace given that the first $2$ appears before the first ace.
Let $X$ be the number of cards satisfying the conditions, $$ E(X) = \sum_{i=1}^{45} E(X \mid \text{first 2 drawn at } i^{th} \text{ position & before 1st ace}) \cdot P(\text{1st 2 drawn at i & before 1st ace}) $$
$$ = \left(\frac{47}{5} \cdot \frac{4}{52}\right) + \left(\frac{46}{5} \cdot \frac{52-8}{52} \cdot \frac{4}{51}\right) + \ldots + \left(\frac{3}{5} \cdot \frac{52-8}{52} \cdot \ldots \cdot \frac{4}{52-45+1}\right) $$
$$ = \frac{47}{5 \cdot 13} + \sum_{i=2}^{45} \frac{4 \cdot (48 - i)}{5 \cdot (52-i+1)} \cdot \prod_{j=0}^{i-2} \left(\frac{52-j-8}{52-j}\right) $$
$$ = \frac{4081}{1170} + \frac{47}{5 \cdot 13} = \frac{379}{90} \approx 4.21 $$
I was told my final answer is wrong but would like to know what is wrong here. Some precisions about what I did above:
- $E(X \mid \text{first 2 drawn at } i^{th} \text{ position & before 1st ace})$ = $\frac{48-i}5$ by generalizing this Expected number of cards you should turn before finding an ace to a smaller number of cards.
- $P(\text{1st 2 drawn at i & before 1st ace})=$ probability of having anything but a $2$ or an ace in the first (i-1$)^{th}$ positions.
- The sum goes to $45$ which the last possibility for the first 2 to appear before an ace.