Poker probs/stats

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Poker probs/stats

Post by Zacariaz »

Yes, I've taken the poker stuff up again, but here in the planing phase I have one (and probably more to come) question.
It's really very simple, all I gotta do is figuring out how many possible combinations of the different types of hand are possible. I think I have the correct results, but I do need them verified and I hope one of you can help with that.

I looks like this:
straight flush: 10*4 = 40
4 of a kind: 13*(12*4) = 624
full house: ((4*3*2)/3!*13)*((4*3)/2!*12) = 3744
flush: (52*12*11*10*9)/5! = 5148
straight: (4^5-4)*10 = 10200
3 of a kind: ((4*3*2)/3!*13)*(12*4)*(11*4) = 109824
2 pairs: ((4*3)/2!*13)*((4*3)/2!*12)*(11*4) = 247104
1 pair: ((4*3)/2!*13)*(12*4)*(11*4)*(10*4) = 6589440
high card: (52*51*50*49*48)-(6589440+247104+109824+10200+5148+3744+624+40) = 304909076
I have tried to write the calculations in an explainatory way, but really as long as I get the results confirmed (or deconfirmed) I'm happy.

Thank you.
This was supposed to be a cool signature...
Hangin10
Member
Member
Posts: 162
Joined: Wed Feb 27, 2008 12:40 am

Post by Hangin10 »

According to wikipedia, your flush calculation is off, along with the last 4 items on your list: http://en.wikipedia.org/wiki/Poker_hands
User avatar
Zacariaz
Member
Member
Posts: 1069
Joined: Tue May 22, 2007 2:36 pm
Contact:

Post by Zacariaz »

I forgot to subtract 40 from the flush.
1 and 2 pairs plus 3 of a kind is simular mistakes.
Anyway, thanks for pointing me to the wiki article.
This was supposed to be a cool signature...
Post Reply