1. ## poker probability

What is the probability that a five-card poker hand contains a straight flush? That is five cards of the same suit of consecutive kinds.
also what would it be for a royal straight flush.

2. ## Just reviving an old problem

The total number of 5-card combinations you can take from a typical 52-card deck is:

$
_{52}C_{5} = \frac {52!} {5! (52-5)!} = 2,598,960
$

That's combination of 52 taken 5 at a time. Since the way the cards are sequenced in the hand is not relevant, the solution is a combination, not a permutation.

And then calculate the number of ways you can have a straight flush. One possible straight flush is A, 2, 3, 4, 5. Another is 10, J, Q, K, A. There are 10 straight flushes each suit (because the "lowest" card of each straight flush can range from A to 10... that's a total of 10). All in all, there are 40 straight flushes.

Hence, the probability of obtaining a straight flush is:

$
\frac {40} {2,598,960}
$

which is a very small number. Even smaller is the probability of obtaining a royal flush. There is only one royal flush per suit (10, J, Q, K, A), and 4 overall.

The probability of a royal flush is:

$
\frac {4} {2,598,960}
$