4
$\begingroup$

I am trying to calculate the probability of getting royal flush, if four 5's are wild cards that can be of any suit. I get that the probability of the first card I am picking is $\frac{24}{52}$, but then it seems to be breaking down into many complicated cases (since I can pick which suit the 5 [if I get one] should be of at any time of picking, including the very end). Is there a not complicated way of computing it? Or how can this be calculated?

  • 0
    Be brave and consider all five different cases. If you don't tell them they're complicated they won't be.2011-04-14

1 Answers 1

3

The probability is $$\frac{4 \binom{9}{5}}{\binom{52}{5}} = \frac{3}{15,470}.$$

Let's do this two ways.

  1. First, choose the suit. There are four ways to do this. Then, to obtain a royal flush in, say, spades, you can choose any five cards from A, K, Q, J, 10 and the four wild cards. There are $\binom{9}{5} = 126$ ways to do this. Thus there are $4(126) = 504$ total ways to obtain a royal flush. Dividing by $\binom{52}{5}$, the total number of ways to obtain a five-card poker hand, yields the probability.

  2. Again, there are four ways to choose the suit. A royal flush in spades can be done with $k$ cards from A, K, Q, J, 10 and $5-k$ wild cards, where $1 \leq k \leq 5$. For fixed $k$, there are $\binom{5}{k}$ ways to choose the non-wild cards and $\binom{4}{5-k}$ ways to choose the wild cards. Summing over $k$, we have that the number of ways to obtain a royal flush with a given suit is $$\sum_{k=1}^5 \binom{5}{k} \binom{4}{5-k} = \binom{9}{5} = 126,$$ where the summation is evaluated using Vandermonde's convolution. As with the first approach, multiplying by $4$ and then dividing by $\binom{52}{5}$ gives the probability of obtaining a royal flush. (Steve D's comment below indicates that he is using a similar approach.)

For those interested, here are some more examples of using combinations to calculate poker hand probabilities.

  • 1
    There are only 4 wild cards...2011-04-14
  • 0
    What you want is 31*4, not 32*4.2011-04-14
  • 0
    @Steve: You're right. Good catch, and thanks!2011-04-14
  • 0
    No, this isn't right, either. The wild cards are distinguishable, and I forgot to account for that. Need another fix.2011-04-14
  • 1
    On average, we were right: should be 126.2011-04-14
  • 0
    ... I think. Seems it should be $\sum \binom{5}{i}\binom{4}{i}$.2011-04-14
  • 0
    @Mike: when you use combinations to compute ways to pick a royal flush out of 9 given cards, it accounts for the fact that after each pick the number of cards decreases by one, correct? E.g. 1/52 * 1/51 etc... I am asking because I am not very familiar with combination function.2011-04-14
  • 0
    @Nailo: This approach doesn't entail picking the cards one by one. If you try to count them that way the argument, as you note above, quickly splits into several cases and becomes messy. But the expression does $52(51)(50)(49)(48)$ does show up; it's in the $\binom{52}{5}$ expression. For more examples of counting poker hands the way I'm doing here, see http://en.wikipedia.org/wiki/Poker_probability#Derivation_of_frequencies_of_5-card_poker_hands.2011-04-14