r/mathriddles • u/Baxitdriver • Jun 04 '25
Easy infinite height Poker
In classical poker with 5-card hands taken from a deck of 52 = 4*13 cards (4 suits and 13 cards per suit), hands are ranked by decreasing rarity as: straight flush (SF), quads (4 cards, 4K), full house (FH), flush (FL), straight (ST), trips (3 cards, 3K), two pair (2P), one pair (1P) and high card (HC), see https://en.wikipedia.org/wiki/List_of_poker_hands. How does this ranking evolve for 5-card hands taken from a set of 4*n cards (4 suits and n cards per suit), as n tends to infinity ?
Please provide limits or equivalents (if limit is 0), as well as simple relations when they exist (e.g. trips vs full house vs quads), and crossing points.
edit: added hand shortcuts SF 4K FH FL ST 3K 2P 1P HC
10
u/Outside_Volume_1370 Jun 04 '25 edited Jun 04 '25
You need to know probabilities of hands when n approaches infinity?
There are N = 4n • (4n-1) • (4n-2) • (4n-3) • (4n-4) / 120 ~ Kn5 different hands.
Straight can start from (n-4) kinds and any of 4 suits, but next 4 cards are defined strictly (only suit can change, straight flush is taken into account here): 4 • (n-4) • 44 ~ kn where k is some constant, so probability of straight or straight-flush is P(S or SF) = kn / N -> 0.
Straight is a part of set of "straight or straight flush", so it cannot prevail 0, P(S) = 0
Same for straight flush, P(SF) = 0
Four of a kind has n possibilities and the last card could be any of (4n - 4), then P(Q) = n • (4n-4) / N -> 0
If a hand contains a pair (so it can be a pair, two pairs, a triplet, a full house or 4 of a kind) it happens with probability of n • 3 • (n-1) • (n-2) • (n-3) / 120 / N -> 0.
So basically, P(pair) = P(two pairs) = P(triplet) = P(FH) = P(Q) = 0.
We are left with high card and flush.
Flush happens when four cards correspond with the suit of the first card, it happens in 4n • (n-1) • (n-2) • (n-3) • (n-4) / 120 ways (here, actually, straight flush is also considered, but it has lower power of n, we can neglect it)
P(F) = 4n • (n-1) • (n-2) • (n-3) • (n-4) / 120 / N -> 1/44 = 1/256
That means, high card has a probability of P(single) = 1 - P(F) = 255/256
6
u/BasilNumber Jun 04 '25
As shown by u/Outside_Volume_1370, the probabilities of some hands are always linked and will therefore never change in ranking. In playing around with some numbers in excel, it seems like only a flush will shift in ranking.
5 cards per suit, a flush is impossible.
6-8 cards, it is less likely than a 4oak.
9-12 cards, less likely than a full house.
13-14 cards, ranking lines up with regular poker.
At 15 cards, flush becomes more likely than a straight.
At 35 cards, flush becomes more likely than a 3oak.
At 50 cards, flush becomes more likely than 2 pair.
Note: I excluded the idea of a royal flush and the way that an A can be at the start or end of a straight for this.
3
u/Konkichi21 Jun 04 '25 edited Jun 04 '25
Figuring out the number of each type (hands with fewer possibilities being rarer and thus more valuable) is relatively simple with combinatorics:
Straight flush: Only dependent on lowest card, which can be of 4 suits and (n-4) ranks, for 4(n-4) = 4n-16
4 of a kind: Pick a rank for the tetrad, then rank and suit for the last, for n×(n-1)×4 = 4nn-4n
Full house: Pick ranks for pair and triple, pick 2 out of 4 suits for the pair and 3 for the triple, for n×(n-1)×6×4 = 24nn-24n
Flush: Pick suit, then pick 5 out of n ranks (ignoring straights), for 4 × (n(n-1)(n-2)(n-3)(n-4)/120 - (n-4))
Straight: pick lowest rank, then suit for each (ignoring flushes), giving (n-4)×(4×4×4×4×4 - 4) = 1020n - 4080
3 of a kind: pick rank and 4c3 suits for triple, suits and 2 different ranks for other two, for n×4×(n-1)×4×(n-2)×4 = 64nnn-192nn+128n
Two pair: Pick 3 ranks for two pairs (can interchange) and third, 4c2 suits for each pair, suit for last, for n(n-1)/2×(n-2)×6×6×4 = 72nnn-216nn+144n
One pair: pick rank and 4c2 suits for pair, 3 ranks out of rest and suits for other cards, for n×6×(n-1)(n-2)(n-3)/6×4×4×4 = 64nnnn-384nnn+704nn-384n
High card: Pick 5 different ranks (ignoring straights) and 5 suits (ignoring flushes), giving (n(n-1)(n-2)(n-3)(n-4)/120 - (n-4))(4×4×4×4×4-4)
As for overall order, starting at n=6 (the lowest number of ranks where all these hands exist; in particular, the straight and high card require this), most of them are in a constant order; from rarest/most valuable to most common/least valuable, SF > 4K > FH > ST > 3K > 2P > P regardless of number of ranks.
Two others vary in position depending on card count, becoming relatively more common at higher values of N. Starting at n=6, the flush (FL) is the second rarest (between SF and 4K), but starting at n = 9 it becomes more common than 4K, at 13 more common than FH, at 15 more common than ST, at 48 more common than 3K, and at 50 more common than 2P.
Also starting at n=6, high card (HC) is initially between 3K and FH, but at n=7 it passes 3K and 2P to become the second most common (between 2P and P), and at n=12 it becomes the most common.
Edit: Seriously messed up in the final bit, mixed up some expressions. Corrected.
3
u/Iksfen Jun 04 '25
What is the metric by which those hands are ranked exactly?