Averzhu
Averzhu
  • Threads: 1
  • Posts: 3
Joined: Nov 21, 2013
November 21st, 2013 at 5:35:31 PM permalink
Who can tell me how to calculate the "Player wins with royal flush" Combinations? The answer is 16759740, but I can't make it out.

The link:

JB give the answer:
The number of possible royal flushes for the player's hand = 4 times
the number of possible dealer hands which qualify but do not tie the player's hand = 837987 times
the number of cards in the dealer's hand which could be the one that gets exposed = 5

4 * 837987 * 5 = 16759740

But I'm a beginner.
Who could give me the Mathematical formulas of "the number of possible dealer hands which qualify but do not tie the player's hand" Combinations?

------------------------------------------------------------------------------
The combinations of Five Card Stud Poker(MS Excel Function):

royal flush: combin(1,1)*combin(4,1)=4
straight flush: combin(10,1)*combin(4,1)-4=36
four of a kind: combin(13,1)*combin(4,4)*combin(52-4,1)=624
full house: combin(13,1)*combin(4,3)*combin(13-1,1)*combin(4,2)=3744
flush: combin(13,5)*combin(4,1)-4-36=5108
straight: combin(10,1)*power(combin(4,1),5)-4-36=10200
three of a kind: combin(13,1)*combin(4,3)*combin(13-1,2)*power(combin(4,1),2)=54912
two pair: combin(13,2)*power(combin(4,2),2)*combin(13-2,1)*combin(4,1)=123552
one pair: combin(13,1)*combin(4,2)*combin(13-1,3)*power(combin(4,1),3)=1098240
high card: (combin(13,5)-10)*(power(combin(4,1),5)-4)=1302540
Total: combin(52,5)=2598960

Five Card Draw -- High Card Hands:
Ace high: (combin(12,4)-2)*(power(combin(4,1),5)-4)=502860
King high: (combin(11,4)-1)*(power(combin(4,1),5)-4)=335580
Queen high: (combin(10,4)-1)*(power(combin(4,1),5)-4)=213180
Jack high: (combin(9,4)-1)*(power(combin(4,1),5)-4)=127500
10 high: (combin(8,4)-1)*(power(combin(4,1),5)-4)=70380
9 high: (combin(7,4)-1)*(power(combin(4,1),5)-4)=34680
8 high: (combin(6,4)-1)*(power(combin(4,1),5)-4)=14280
7 high: (combin(5,4)-1)*(power(combin(4,1),5)-4)=4080
Total: 1302540

Ace&King High: (combin(11,3)-1)*(power(combin(4,1),5)-4)=167280

The Link:
  • Jump to: