Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > General Gambling > Probability
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2007, 01:11 AM
yellowjack yellowjack is offline
Senior Member
 
Join Date: Nov 2004
Location: fighting -EV
Posts: 2,152
Default Does not Compute! Trouble w/ Combinatorics

I've tried to break down the total number of all possible 5-card poker hands into their categories and get a complete count. I'm a bit short on the total count. Here's what I have:

One Pair: C(13,1)*C(4,2)*C(12,3)*[C(4,1)^3] = 1,098,240

Two Pair: C(13,2)*[C(4,2)^2]*C(11,1)*(4,1) = 123,552

3 of a Kind: C(13,1)*C(4,3)*C(12,2)*[C(4,1)^2] = 24,960

Straight: 10*(4^5-4) = 10,200

Flush: C(4,1)*[C(13,5)-10] = 5,108

Full House: C(13,1)*C(4,3)*C(12,1)*C(4,2) = 3,744

4 of a Kind: C(13,1)*C(4,4)*C(12,1)*C(4,1) = 624

Straight Flush: 4*(10-1) = 36

Royal Flush: 4

High Card: C(13,5)(4^5-4) - 10*(4^5-4) = 1,302,540
where (4^5-4) is all combinations of non-flush hands if there are 5 unique ranks, and 10*(4^5-4) is the number of straights made.

Total = 2,569,008
C(52,5) = 2,598,960 [img]/images/graemlins/frown.gif[/img]

If anyone can spot the error and point it out it would be awesome. The part I had the most trouble with was calculating the number of high card hands, so at least part of the error may lie in here.
Reply With Quote
  #2  
Old 11-01-2007, 01:36 AM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: Does not Compute! Trouble w/ Combinatorics

The only mistake you made was computing 3 of a kind .

(13c1*4c3)*(48*44)/2 = 54912

There are 13c1 ranks and 4c3 possible ways to choose a three of a kind for each . Once this is fixed, there are 48 cards to choose from . Once that is fixed, there are 44 cards to choose from .

Now everything adds up properly .
Reply With Quote
  #3  
Old 11-01-2007, 02:05 AM
yellowjack yellowjack is offline
Senior Member
 
Join Date: Nov 2004
Location: fighting -EV
Posts: 2,152
Default Re: Does not Compute! Trouble w/ Combinatorics

Thanks for pointing it out! Turns out C(13,1)*C(4,3)*C(12,2)*[C(4,1)^2] does work, but I suck at punching numbers in calculators.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.