Poker

Contribute to this entry

Poker is a card game played with a normal deck of 52 cards. Sometimes, additional cards called "jokers" are also used. In straight or draw poker, each player is normally dealt a hand of five cards. Depending on the variant, players then discard and redraw cards, trying to improve their hands. Bets are placed at each discard step. The number of possible distinct five-card hands is equal to the number of possible ways of picking five cards out of a deck of 52, namely

 N=(52; 5)=2598960,

where (n; k) is a binomial coefficient.

There are special names for specific types of hands. A royal flush is an ace, king, queen, jack, and 10, all of one suit. A straight flush is five consecutive cards all of the same suit (but not a royal flush), where an ace may count as either high or low. A full house is three-of-a-kind and a pair. A flush is five cards of the same suit (but not a royal flush or straight flush). A straight is five consecutive cards (but not a royal flush or straight flush), where an ace may again count as either high or low.

The probabilities of being dealt five-card poker hands of a given type (before discarding and with no jokers) on the initial deal are given below (Packel 1981). The "computation" and "counts" columns give the numbers of possible five-card hands of each type, and how this number is computed. As usual, (n; k) denotes a binomial coefficient. The odds of a hand with probability P are (1/P)-1:1.

handcomputationcountsprobability (1=100%)odds
royal flush441.54×10^(-6)649739.0:1
straight flush4·10-4361.39×10^(-5)72192.3:1
four of a kind13·486242.40×10^(-4)4164.0:1
full house13(4; 3)12(4; 2)37441.44×10^(-3)693.2:1
flush4(13; 5)-36-451081.97×10^(-3)507.8:1
straight10·4^5-36-4102003.92×10^(-3)253.8:1
three of a kind13(4; 3)((48)(44))/(2!)549120.021146.3:1
two pair(13(4; 2)12(4; 2))/(2!)441235520.047520.0:1
one pair13(4; 2)((48)(44)(40))/(3!)10982400.4231.366:1

Gadbois (1996) gives probabilities for hands if two jokers are included, and points out that it is impossible to rank hands in any single way which is consistent with the relative frequency of the hands.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.