Pulling cards from a deck without replacement to reach a goal: average draws needed?
Your formula is correct, and can be justified as follows.
There are $y$ special cards and $x-y$ regular cards in the deck. For $1\leq i\leq x-y$, define $U_i$ to be an indicator random variable which is equal to 1 if the $i^\text{th}$ regular card precedes the $n^\text{th}$ special card, and is equal to 0 otherwise.
The number of draws needed to get $n$ special cards is, $N=n+\sum_{i=1}^{x-y} U_i$. The relative order of the $y+1$ cards made up of all the special cards plus card $i$ is completely random. So the chance that $U_i = 1$ is $\frac{n}{y+1}$.
Taking the expectation of $N$ gives $$\mathbb{E}(N)=n+\sum_{i=1}^{x-y} \mathbb{P}(U_i=1)=n+(x-y)\,{n\over y+1}={n(x+1)\over y+1}.$$
Yes. Consider the 48 non-jacks in the deck, and how they might be distributed into the following five buckets.
- Drawn before the first jack
- Drawn between the first jack and the second jack
- Drawn between the second jack and the third jack
- Drawn between the third jack and the fourth jack
- Drawn after the fourth jack
Among all $52!$ orderings of the deck, any given card will have equally many placings in each of the five buckets, and therefore has a probability of $3/5$ of falling into one of the first three. With $48$ such cards, the expected number in the first three buckets is therefore $48\times 3/5$. Since we must also draw the three jacks themselves, the expected total number of cards we need to draw is $3+48\times 3/5 = 53\times 3/5$, or more generally, $\displaystyle\frac {n(x+1)}{y+1}$.
Let $f(n,x,y)$ denote the expected number for $n$ of $y$ jacks in a deck of $x$ cards. Then for $n>1$ $$\tag1f(n,x,y)=1 +\frac yxf(n-1,x-1,y-1)+\frac{x- y}xf(n,x-1,y)$$ (you must make one move and then have one of two possible simpler problems depending on whether that was a jack or not) and $$\tag2f(0,x,y)=0$$ (you are "ready before you begin"). Your conjecture $f(n,x,y)= \frac{(x+1)n}{y+1}$ is certainly valid for $n=0$ as it matches $(2)$. But it also matches the recursion $(1)$, as indeed:
$$1+\frac yx \cdot \frac{(n-1)x}y+\frac{x-y}x\cdot\frac{n x}{y+1} =\frac{n(x+1)}{y+1}.$$ Therefore $f(m,x,y)=\frac{n(x+1)}{y+1}$ holds generally.