Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suppose you have a standard deck of 52 cards and add a 53rd card which is a “wild card” and can stand for any other card.

  1. What’s the probability of getting a straight?

  2. What’s the probability of getting a flush?

I feel like this increases the complexity to a point at which I'm not sure how to do the problem. It's simple without the wild card.

share|cite|improve this question
Stop hiding your questions after they have been answered. – Did Jan 26 '12 at 19:57

I’m assuming a five-card hand. There are $\binom{53}5$ possible hands. Flushes are a little easier to count than straights, so I’ll start with them.

To get a flush in a suit, you must get either a regular flush or a four-card flush plus the wild card, so there are $\binom{13}5+\binom{13}4=\binom{14}5$ ways to get a flush in any one suit and $4\binom{14}5$ ways to get a flush altogether. The probability of a flush is therefore $$\frac{4\binom{14}5}{\binom{53}5}=\frac{8008}{2869685}\approx 0.00279\;.$$ The figure without the wild card is about $0.00198$, so the wild card improves one’s chances by not quite $41$%.

Now I’ll count straights. A straight may begin with any value from ace (low) through ten. For any one of these starting points there are $4^5$ regular straights. The wild card may be substituted for any of the five values in the straight, and for each of those substitutions there are $4^4$ ways to fill out the ‘honest’ part of the straight, so there are $5\cdot 4^4$ four-card straights plus wild card. Thus, there are $4^5+5\cdot 4^4=9\cdot 4^4$ straights with each of the ten ranges of values and hence $10\cdot9\cdot4^4$ straights.

Edit: However, this overcounts when the wild card is at one end of the straight, since, for example, $2345W$ and $W2345$ are the same hand. (Thanks to the OP for pointing this out.) Specifically, we’ve counted an extra $4^4$ hands for each pair of adjacent ranges ($A2345$ and $23456$, $23456$ and $34567$, etc.). There are nine such pairs, so we’ve overcounted by $9\cdot4^4$, and the correct total is $10\cdot9\cdot4^4-9\cdot4^4=9^2\cdot4^4$. The probability of getting a straight is therefore $$\frac{9^2\cdot 4^4}{\binom{53}5}=\frac{20736}{2869685}\approx 0.00723\;.$$ The figure without the wild card is about $0.00493$, so in this case the improvement is a bit under $46.7$%.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.