I was always befuddled by Permutations & Combinations in Maths, so would someone (bplus, I guess!) show where I have gone wrong?
:D 52! permutations of ways a deck can be ordered, yet only one combination of 4 aces, 4 kings... 4 2's.
level 1
Who_GNU
1 point
·
5 years ago
To be exact, 52! equals 80,658,175,170,943,878,571,660,636,856,403,766,975,289,505,440,883,277,824,000,000,000,000
8x10^67
How many hands of 13 from a deck?
EDIT: formula for Combination = N!/(R! * (N-R)!)
52! / (39! * 13!) OK Pete, time to test your string math! ;-))
Only 4 or those hands can have 4 Aces, 4 Kings, 4 Queens, and 1 of 4 Jacks
APPEND: Oh Hey! It's right in your link Qwerky!
The total number of possible 13 card hands is: COMBIN(52,13) = 635,013,559,600
So I was right 4/635,013,559,600
APPEND #2: I had wrong formula for combination originally. _integer64 might be able to handle the calculation.