# [Draft] Poker With Lennier

In J. Michael Straczynski's science fiction TV show _Babylon 5_, there's a character named Lennier. He's pretty Spock-like: he's a long-lived alien who avoids displaying emotion and feels superior to humans in intellect and wisdom. He's sworn to always speak the truth. In one episode, he and another character, the corrupt and rakish Ambassador Mollari, are chatting. Mollari is bored. But then Lennier mentions that he's spent decades studying probability. Mollari perks up, and offers to introduce him to this game the humans call _poker._

Later, we see Mollari, Lennier, and some others playing poker. Lennier squints at his hand and remarks, "Interesting. The odds of this combination are 5000:1, against." Everybody considers this revelation for a moment, then folds, conceding the hand. Mollari is exasperated, and tells him to stop doing that. Because Lennier is essentially announcing that he has a good hand, Lennier's winning far fewer chips than he should.

The other poker players, and the audience, are picturing Lennier as having a hand something like this:

![](http://www.stevedawson.com/pokercards/3c.gif) ![](http://www.stevedawson.com/pokercards/3d.gif) ![](http://www.stevedawson.com/pokercards/3h.gif) ![](http://www.stevedawson.com/pokercards/3s.gif) ![](http://www.stevedawson.com/pokercards/8h.gif)

This is a four of a kind, the second-best hand in most poker games. The odds against being dealt a four of a kind in a hand of five cards are 4164:1--one might, in a moment of excitement, round that up to an even five thousand.

We the audience are meant to have a hearty chuckle over how theory doesn't translate into practice. But! We never get to see Lennier's cards, which means we get to picture whatever we want. I choose to believe, and I urge you to do so as well, that Lennier had this hand:

![](http://www.stevedawson.com/pokercards/ac.gif) ![](http://www.stevedawson.com/pokercards/2c.gif) ![](http://www.stevedawson.com/pokercards/3d.gif) ![](http://www.stevedawson.com/pokercards/5d.gif) ![](http://www.stevedawson.com/pokercards/8h.gif)

This is one of the worst hands possible in poker: ace-high. It loses to almost everything. By causing everyone else to fold, Lennier won a hand he probably would otherwise have lost. He knew exactly what he was doing.

"Wait," I hear you say. "Lennier is sworn to always tell the truth. How could he ever make a verbal bluff in a poker game?" Well. Let's consider a few different ways we can interpret the phrase "the odds of this combination."

First of all, the specific two hands I've given above are _equally likely_ to be dealt. Any specific set of five cards is just as likely to show up as any other. There are 2,598,960 distinct hands of poker, all created equal, so the odds against any particular one showing up are 2598959:1. That's all the hands of poker but one, lined up against that one. Throw a ball, then notice which blade of grass it crushes. The odds against it crushing that blade of grass would have seemed nigh-impossible if you tried to predict it ahead of time. Lennier would have been fully justified in gaping in astonishment at his hand, and announcing that the odds were millions-to-one against. But if he does that, he's obligated to spend every waking moment in a perpetual state of amazement at everything that happens.

That's not how we normally talk about poker hands. Instead, we describe them as falling into relevant categories. There are 624 different four-of-a-kind hands, so the odds of getting a four of a kind, any four of a kind plus any other card, are 624 times better than the odds of getting one specific hand. There are 502,860 ace-high hands, which makes the odds against getting an ace-high hand, any ace high hand, 2096099:502860, which reduces to a mere 4.2:1. Throw a ball into the air: you can almost guarantee it's going to crush _some_ blade of grass or other. Since all similar blades of grass on the lawn fall into the same category, we're not surprised when one in particular gets crushed.

But Lennier's an alien, and more importantly, a novice to poker, and _more_ importantly, a dirty rotten sneak. He's under no obligation to lump poker hands into the same categories as a human poker player does. He's also fully capable of noticing that his cards have the Fibbonaci relation: when placed in ascending order with the ace counting as 1, they form a sequence such that each card N+2 is the sum of card N and card N+1. Furthermore, the first two cards and the second two cards each share a suit! The odds against such a combination are 5076:1. When he gives the odds as 5000:1, he's committed no sin other than a little rounding (down!). We're surprised if the ball lands right on the particular patch of grass we remember once burying a goldfish under, while a stranger who didn't know about the goldfish wouldn't find this spot remarkable.

"But!" you cry. "I still feel like I'll be more surprised to be dealt a four of a kind than a two-striped-Fibbonaci-hand. Is that irrational?" Not exactly. The poker hand categories are relevant to probabilistic analysis in one important way: the hand you got may not actually be random. Maybe the dealer is crooked. Maybe this is a dream. If you get dealt a four of a kind, the odds of either being true rise significantly. But we can't say this possibility makes the four of a kind less probable. Indeed it makes it _more probable_. A nonrandom process is equally likely to give you a four of a kind as an ace high. So if we allow for the possibility of a crooked dealer, all of our previous probability estimates were wrong. Rather than talking about this suddenly murky idea of the probability of a hand, we should talk about the _suspiciousness_ of a hand. We can calculate it as follows.

First divide the set of poker hands into the relevant categories. We've got straight flush, four of a kind, full house, flush, three of a kind, two pairs, one pair, high card, and then separate categories for when they're topped by an ace (the straight flush becomes a royal flush, high card becomes ace high, etc.) That's sixteen categories. This is a culturally-dependent count. In some poker circles, it might make more sense to subdivide pairs into "jacks-or-better" and "tens-or-worse," and in Hypothetical Minbari Poker, Fibbonaci hands are important. Whatever natural categories are in your head are the appropriate ones. If we knew the dealer thought as you did and was crooked and in complete control of what was dealt, but we had no other information on motives or behavior, the probability of being dealt any one of those categories would be 1/16. On the other hand, suppose, as we assumed earlier, we knew the deal was perfectly random. Then the probability of getting a non-ace four of a kind is about 1/4512, while the probability of an ace high is about 1/5. We'll calculate the _suspiciousness_ of each hand by dividing the first figure (1/16 in both cases) by the second. So the suspiciousness of the four of a kind is about (1/16)/(1/4512) = 4512/16=282, while the suspiciousness of the ace high is (1/16)/(1/5)=5/16. In general, this kind of calculation is called a likelihood ratio.

Here's what you can do with this number. Suppose you currently believe that the odds against the dealer being crooked are 100:1. Once you see your hand, you can multiply that 1 by the suspiciousness of the hand. So if you're dealt a four of a kind, your new odds are now 100:282 against, which reduce to 141:50, or roughly 3:2, in _favor_ of the dealer being crooked. On the other hand, if you're dealt ace high, your new odds are 100:(5/16), which reduce to 320:1. After seeing such an ordinary hand, you're now more confident the hands are random. Every time you see another hand, you can do the same calculation again on your current beliefs. Each time, you'll be performing a Bayesian Update, which is a sacred sacrament.

"Hold on," you say, and at this point I'm starting to suspect you just enjoy interrupting. "What if I _want_ to notice patterns in my poker hands? Can I quantify the _remarkability_ of a hand?" Absolutely. We could say that a pattern is worth remarking on if its length is low relative to the number of cards it's talking about. The four of a kind hand can be described as "Four threes and the eight of hearts," which is much quicker than "The four of clubs, the four of diamonds, the four of spades, the four of hearts, and the eight of hearts." Here we see that Lennier's hand does okay in one respect: "One,two,Fibbonaci" is a little shorter than "One, two, three, five, eight". The suit pattern doesn't save any space, so it doesn't actually count as remarkable. And this is still subjective: alien cultures wouldn't know what "Fibbonaci" meant, and they might not even have a name for that particular relation. For the hand to be _objectively_ remarkable, you'd have to be able to describe it succinctly even when including a definition of the term. That's not possible in this case, although if you had an eight-card hand following the pattern it would be. And the odds of getting an _objectively remarkable_ hand by pure chance are always low, no matter how good at spotting patterns you are, because there's not enough room in language to describe the majority of n-card hands more succinctly than you could just the list the hand. This type of analysis is a useful scientific principle, referred to as _minimum message length,_ a generalized and formalized Occam's Razor.

So what are the odds of a combination? It depends on what you're trying to accomplish! There is no gap between proper theory and proper practice, because theory is only coherent when it is instrumental. And that's how I know that, whatever J. Michael Straczynski might think, Lennier won with a bad hand.