# Card probability - AAKK out of a deck

**URL:** https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241
**Category:** Factual Questions
**Created:** [December 22, 2004, 11:21pm UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241 "2004-12-22T23:21:24Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![MysteryFellow63427](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@MysteryFellow63427](https://boards.straightdope.com/u/MysteryFellow63427)
#### Post date: [December 22, 2004, 11:21pm UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/1 "2004-12-22T23:21:24Z")

</div>

If dealt exactly 4 cards out of a deck of 52, what are the odds of winding up with exactly **two Aces** and exactly **two Kings**? (Suit is irrelevant.)

Here’s how I calculated it, just curious to see if others think these are correct or in error.

My formula is total probability P = P1\*(P2a_P3a_P4a + P2b_P3b_P4b)

For the first card dealt, any Ace or King will suffice, which means eight out of fifty two.

P1 = 8 / 52

Now there are seven cards remaining that we can use. Three of them are the same as the first card, and four are different.

**Case a** : the second card pulled is the same as the first.

The odds of pulling the same card (Ace or King) as the first are 3 / 51.

P2a = 3 / 51

Once we have pulled two straight Kings, for example, we need to pull two of the remaining four Aces in the deck (vice versa if Aces were the first cards pulled.)

P3a = 4 / 50  
P4a = 3 / 49

**Case b** : the second card pulled is not the same as the first (i.e., first two cards are AK)

P2b = 4 / 51

At this point there are three Aces and three Kings left in the deck, any of which can be used as the third card dealt.

P3b = 6 / 50

Now we either have AAK or KKA, and in either case, only three remaining cards in the deck can be used to form the target hand of AAKK.

P4b = 3 / 49

So by substitution we get:

```auto

      8 3 4 3 4 6 3     
P = ---- * [( ---- * ---- * ---- ) + (---- * ---- * ---- )]
      52 51 50 49 51 50 49 

```

Reducing that, we get

P = (8 / 52) \* (3 / 49) \* [((3 / 51) \* (4 / 50)) + ((4 / 51) \* (6 / 50))]

P = (8 / 52) \* (3 / 49) \* [12 / (51_50) + 24 / (51_50)]

P = (8 \* 3 \* 36) / ( 52 \* 51 \* 50 \* 49) ~= 0.000133

or about 1 in 7520.

Did I do this right, math dopers? 🙂

P.S. This is not a HW question, and if any of you play poker, you will recognize AAKK as the best starting hand in Omaha High.

---

<div class="post-metadata">

### Author: ![bitwise](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bitwise](https://boards.straightdope.com/u/bitwise)
#### Post date: [December 22, 2004, 11:36pm UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/2 "2004-12-22T23:36:00Z")

</div>

I used ((4 choose 2)^2) / (52 choose 4). Google calculator returns 0.000132976267

---

<div class="post-metadata">

### Author: ![OldGuy](https://avatars.discourse-cdn.com/v4/letter/o/3bc359/32.png) [@OldGuy](https://boards.straightdope.com/u/OldGuy)
#### Post date: [December 22, 2004, 11:41pm UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/3 "2004-12-22T23:41:36Z")

</div>

> [@neuroman](#):
>
> P.S. This is not a HW question, and if any of you play poker, you will recognize AAKK as the best starting hand in Omaha High.

Bit wise is correct in his calculation. but why is AAKK a better starting hand than AAAA? I could see that two AK’s of the same suit might be better than a random AAKK as it leaves open the possibility of a royal flush. But wouldn’t AAAA be a better start than AC AD KH KS?

BTW I don’t play Ohama High.

---

<div class="post-metadata">

### Author: ![Pullet](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@Pullet](https://boards.straightdope.com/u/Pullet)
#### Post date: [December 22, 2004, 11:46pm UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/4 "2004-12-22T23:46:59Z")

</div>

Now I’m confused. **neuroman’s** answer seems more technically correct than **bitman’s** , accounting for the reduction in size of the overall pack and the chance of different methods to arrive at the same hand. Yet \*\*bitman’s \*\* numerical value is the same as **neuroman’s.** Have I been duped by years of statistics teachers into performing calculations in more complex ways then necessary? :eek:

---

<div class="post-metadata">

### Author: ![Peter\_Morris](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/peter_morris/32/359_2.png) [@Peter\_Morris](https://boards.straightdope.com/u/Peter_Morris)
#### Post date: [December 22, 2004, 11:52pm UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/5 "2004-12-22T23:52:13Z")

</div>

I make it :

270,725 possible ways of getting 4 cards assuming order is irrelevent.

144 of them are AAKK  
144/ 270,725 = 0.000531905

---

<div class="post-metadata">

### Author: ![MysteryFellow63427](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@MysteryFellow63427](https://boards.straightdope.com/u/MysteryFellow63427)
#### Post date: [December 22, 2004, 11:58pm UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/6 "2004-12-22T23:58:43Z")

</div>

> [@OldGuy](#):
>
> Bit wise is correct in his calculation. but why is AAKK a better starting hand than AAAA?

In Omaha High (and High/Low) you use _exactly_ two of your starting four cards to combine with _exactly_ three of the “board” cards to make a hand. Thus with AAAA, you can’t pair anything on the board, reducing your odds dramatically. In fact, in Omaha it’s generally considered a good idea to fold all “quad” hands immediately.

**Pullet** , I think maybe I just described the looong way what I could have done much more easily if I was more familiar with probability. But at least it looks like I was correct. 😃

---

<div class="post-metadata">

### Author: ![bitwise](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bitwise](https://boards.straightdope.com/u/bitwise)
#### Post date: [December 23, 2004, 12:00am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/7 "2004-12-23T00:00:29Z")

</div>

> [@Pullet](#):
>
> Now I’m confused. **neuroman’s** answer seems more technically correct than **bitman’s** , accounting for the reduction in size of the overall pack and the chance of different methods to arrive at the same hand. Yet \*\*bitman’s \*\* numerical value is the same as **neuroman’s.** Have I been duped by years of statistics teachers into performing calculations in more complex ways then necessary? :eek:

neuroman’s answer: (8 \* 3 \* 36) / ( 52 \* 51 \* 50 \* 49)  
my answer: ((4 choose 2)^2) / (52 choose 4)

Work out the arithmetic, and you will see that these are the same.

How I arrived at my answer:

1. There are (52 choose 4) four-card hands.
2. There are (4 choose 2) pairs of aces and (4 choose 2) pairs of kings.
3. There are (4 choose 2)^2 hands with two aces and two kings.
4. The probability of such a hand is ((4 choose 2)^2) / (52 choose 4).

---

<div class="post-metadata">

### Author: ![Otto](https://avatars.discourse-cdn.com/v4/letter/o/bbe5ce/32.png) [@Otto](https://boards.straightdope.com/u/Otto)
#### Post date: [December 23, 2004, 12:01am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/8 "2004-12-23T00:01:24Z")

</div>

> [@OldGuy](#):
>
> Bit wise is correct in his calculation. but why is AAKK a better starting hand than AAAA? I could see that two AK’s of the same suit might be better than a random AAKK as it leaves open the possibility of a royal flush. But wouldn’t AAAA be a better start than AC AD KH KS?

In Omaha, you play exactly two of your four hole cards. If you were dealt AAAA, you would have a pair of Aces. AAKK is a stronger starting hand because you can improve with any of the remaining Aces and Kings, as well as having the possibility of making the best possible straight (AKQJ10).

---

<div class="post-metadata">

### Author: ![bitwise](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bitwise](https://boards.straightdope.com/u/bitwise)
#### Post date: [December 23, 2004, 12:03am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/9 "2004-12-23T00:03:55Z")

</div>

> [@Peter Morris](#):
>
> I make it :
> 
> 270,725 possible ways of getting 4 cards assuming order is irrelevent.
> 
> 144 of them are AAKK  
> 144/ 270,725 = 0.000531905

You are overcounting. (ace of spades, ace of hearts) and (ace of hearts, ace of spades) should be counted as the same.

---

<div class="post-metadata">

### Author: ![OldGuy](https://avatars.discourse-cdn.com/v4/letter/o/3bc359/32.png) [@OldGuy](https://boards.straightdope.com/u/OldGuy)
#### Post date: [December 23, 2004, 12:15am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/10 "2004-12-23T00:15:25Z")

</div>

> [@Peter Morris](#):
>
> I make it :
> 
> 270,725 possible ways of getting 4 cards assuming order is irrelevent.
> 
> 144 of them are AAKK  
> 144/ 270,725 = 0.000531905

The first number is right and it is 52 choose 4 as BitWise suggests. The second number is not correct. There are only 36 ways of getting AAKK. There are six AA pairs: (Clubs, Diamonds), CH, CS, DH, DS, HS, coupled with 6 ways to get two kings for 36 total. And 36 is (4 choose 2) squared again agreeing with BitWise. This is also the same answer that the OP gives since 52 choose 4 is (52_51_50_49)/(4_3\*2) (see his last line). I did not mean to imply the OP was wrong, just that Bitwise’s method was simpler.

Where did 144 come from?

---

<div class="post-metadata">

### Author: ![OldGuy](https://avatars.discourse-cdn.com/v4/letter/o/3bc359/32.png) [@OldGuy](https://boards.straightdope.com/u/OldGuy)
#### Post date: [December 23, 2004, 12:18am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/11 "2004-12-23T00:18:55Z")

</div>

> [@Otto](#):
>
> In Omaha, you play exactly two of your four hole cards. If you were dealt AAAA, you would have a pair of Aces. AAKK is a stronger starting hand because you can improve with any of the remaining Aces and Kings, as well as having the possibility of making the best possible straight (AKQJ10).

Thanks. So I guess two AK’s of the same suits would be the very best starter since you’ve have two flush possibilities as well.

---

<div class="post-metadata">

### Author: ![Peter\_Morris](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/peter_morris/32/359_2.png) [@Peter\_Morris](https://boards.straightdope.com/u/Peter_Morris)
#### Post date: [December 23, 2004, 12:23am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/12 "2004-12-23T00:23:38Z")

</div>

> [@OldGuy](#):
>
> Where did 144 come from?

4_3_4\*3

---

<div class="post-metadata">

### Author: ![Pullet](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@Pullet](https://boards.straightdope.com/u/Pullet)
#### Post date: [December 23, 2004, 12:40am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/13 "2004-12-23T00:40:30Z")

</div>

I don’t doubt that both **neuroman** and **bitwise** are correct, I’m just amazed that one answer can be condensed to the other. Years of carful training by the public school system have left me incapable of doing math shortcuts in my head. I simply _must_ do math the long way like a good girl.

I’m still not clear on what the phrase “chooses” means. What exactly are you picturing when you say

> [@](#):
>
> There are (52 choose 4) four card hands

That there is some number x that represents the number of combinations you get when you choose 4 random cards out of a deck of 52? How is it that we can bypass consideration of the deck growing smaller with each selected card?

Forgive my simplicity, but my weakness in statistics is part of the reason I don’t table-top game. Even though **neuroman’s** answer is longer, I have an easer time following it.

Chicken kisses.

---

<div class="post-metadata">

### Author: ![nivlac](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@nivlac](https://boards.straightdope.com/u/nivlac)
#### Post date: [December 23, 2004, 1:09am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/14 "2004-12-23T01:09:46Z")

</div>

> [@Pullet](#):
>
> I don’t doubt that both **neuroman** and **bitwise** are correct, I’m just amazed that one answer can be condensed to the other. Years of carful training by the public school system have left me incapable of doing math shortcuts in my head. I simply _must_ do math the long way like a good girl.
> 
> I’m still not clear on what the phrase “chooses” means. What exactly are you picturing when you say
> 
> That there is some number x that represents the number of combinations you get when you choose 4 random cards out of a deck of 52? How is it that we can bypass consideration of the deck growing smaller with each selected card?
> 
> Forgive my simplicity, but my weakness in statistics is part of the reason I don’t table-top game. Even though **neuroman’s** answer is longer, I have an easer time following it.
> 
> Chicken kisses.

“n choose m” is the number of ways to select m objects from n objects where the order of the m objects is not relevant. You can find the formula [here](http://mathforum.org/dr.math/faq/faq.comb.perm.html) in the section on combinations. It involves factorials. The way that bitwise did it was the most efficient way, but it requires some basic knowledge of combinatorics. Basically, the trick boils down to knowing “how to count”.

---

<div class="post-metadata">

### Author: ![OldGuy](https://avatars.discourse-cdn.com/v4/letter/o/3bc359/32.png) [@OldGuy](https://boards.straightdope.com/u/OldGuy)
#### Post date: [December 23, 2004, 1:12am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/15 "2004-12-23T01:12:56Z")

</div>

> [@Peter Morris](#):
>
> 4_3_4\*3

Ahh OK but this counts Ace of spades first Ace od hearts second as different from Ace of hearts first and ace of spades second. So you want 4_3/2 \* 4_3/2

---

<div class="post-metadata">

### Author: ![Pullet](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@Pullet](https://boards.straightdope.com/u/Pullet)
#### Post date: [December 23, 2004, 1:25am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/16 "2004-12-23T01:25:14Z")

</div>

> [@nivlac](#):
>
> The way that bitwise did it was the most efficient way, but it requires some basic knowledge of combinatorics. Basically, the trick boils down to knowing “how to count”.

I appreciate the link, because it actually does answer my question. My problem is that I was never taught factorials. I changed schools a lot and the last one always seemed to assume that I had already been taught various givens. For example, I never learned how to diagram a sentence.

Contrary to your post, though, I do know how to count. Managed to take that skill all the way through high school and college calculus. Your asshattery was not needed or appreciated.

---

<div class="post-metadata">

### Author: ![Cabbage](https://avatars.discourse-cdn.com/v4/letter/c/f07891/32.png) [@Cabbage](https://boards.straightdope.com/u/Cabbage)
#### Post date: [December 23, 2004, 1:40am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/17 "2004-12-23T01:40:33Z")

</div>

> [@Pullet](#):
>
> I appreciate the link, because it actually does answer my question. My problem is that I was never taught factorials. I changed schools a lot and the last one always seemed to assume that I had already been taught various givens. For example, I never learned how to diagram a sentence.
> 
> Contrary to your post, though, I do know how to count. Managed to take that skill all the way through high school and college calculus. Your asshattery was not needed or appreciated.

Actually, I’m not so sure that **nivlac** intended the remark on knowing “how to count” to be insulting in any way. Combinatorics _is_ the mathematics of counting, and there is nothing simple about some of the advanced methods of, “simply”, counting.

---

<div class="post-metadata">

### Author: ![Pullet](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@Pullet](https://boards.straightdope.com/u/Pullet)
#### Post date: [December 23, 2004, 1:48am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/18 "2004-12-23T01:48:19Z")

</div>

Then **nivlac** phrased it poorly.

That’s all. I don’t mean to pick a fight with anyone and I probably just over-reacted in my previous post.

Don’t want to hyjack the thread.

---

<div class="post-metadata">

### Author: ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)
#### Post date: [December 23, 2004, 3:53am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/19 "2004-12-23T03:53:09Z")

</div>

Ask any mathematician how hard counting is, and he’ll tell you it’s frightfully difficult. That’s not widely known outside of our circle, so I can see where somebody might take offense, but none was meant.

Anyway, **bitwise** is using a generalized form of the hypergeometric distribution, which might be of interest to you. It makes problems like this quite simple.

---

<div class="post-metadata">

### Author: ![Otto](https://avatars.discourse-cdn.com/v4/letter/o/bbe5ce/32.png) [@Otto](https://boards.straightdope.com/u/Otto)
#### Post date: [December 23, 2004, 4:10am UTC](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241/20 "2004-12-23T04:10:06Z")

</div>

> [@OldGuy](#):
>
> Thanks. So I guess two AK’s of the same suits would be the very best starter since you’ve have two flush possibilities as well.

Yep. You start with the best possible pair and the best possible draws (nut straight and two nut flushes).

[Next page](https://boards.straightdope.com/t/card-probability-aakk-out-of-a-deck/281241.md?page=2)
