Calgarypuck Forums - The Unofficial Calgary Flames Fan Community

Go Back   Calgarypuck Forums - The Unofficial Calgary Flames Fan Community > Main Forums > The Off Topic Forum
Register Forum Rules FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 03-18-2015, 09:19 AM   #1
JonDuke
Franchise Player
 
JonDuke's Avatar
 
Join Date: Dec 2010
Location: Calgary
Exp:
Default Advanced Mathematical/Combination Question.

Question for those very smart at math/combinations.
I tried Googling this but got lost with all the permutation talk and not sure if that's even what I need.

I hope this makes sense. I want to know how many possible combinations could be made with the following scenario:

You need 2 LW and have 30 to choose from
You need 2 RW and have 30 to choose from
You need 2 C and have 30 to choose from
You need 2 D and have 20 to choose from
You need 1 G and have 10 to choose from

Is there a mathematical formula that can tell me how many different combinations are possible?
What is this formula called? So I can see if there's a website that I could go into, enter all the variables, and have it list me all combinations.
JonDuke is offline   Reply With Quote
Old 03-18-2015, 09:23 AM   #2
nfotiu
Franchise Player
 
Join Date: May 2002
Location: Virginia
Exp:
Default

Quote:
Originally Posted by JonDuke View Post
Question for those very smart at math/combinations.
I tried Googling this but got lost with all the permutation talk and not sure if that's even what I need.

I hope this makes sense. I want to know how many possible combinations could be made with the following scenario:

You need 2 LW and have 30 to choose from
You need 2 RW and have 30 to choose from
You need 2 C and have 30 to choose from
You need 2 D and have 20 to choose from
You need 1 G and have 10 to choose from

Is there a mathematical formula that can tell me how many different combinations are possible?
What is this formula called? So I can see if there's a website that I could go into, enter all the variables, and have it list me all combinations.
Ignore that, psyang corrected me below.

Last edited by nfotiu; 03-18-2015 at 09:34 AM.
nfotiu is offline   Reply With Quote
The Following 2 Users Say Thank You to nfotiu For This Useful Post:
Old 03-18-2015, 09:26 AM   #3
psyang
Powerplay Quarterback
 
Join Date: Jan 2010
Exp:
Default

You want the "choose" function:

a Choose b = a!/[(a-b)!b!]

So, 5 choose 2 = 5!/(3!2!) = 120/(6*2) = 10. So there are 10 ways to choose 2 from a group of 5.

In your case, you want (30c2)*(30c2)*(30c2)*(20c2)*(10c1) = 435*435*435*190*10 = 156 394 462 500 possibilities (156.4 billion)
psyang is offline   Reply With Quote
The Following 5 Users Say Thank You to psyang For This Useful Post:
Old 03-18-2015, 09:27 AM   #4
JonDuke
Franchise Player
 
JonDuke's Avatar
 
Join Date: Dec 2010
Location: Calgary
Exp:
Default

That was quick and easy. Thanks!
JonDuke is offline   Reply With Quote
Old 03-18-2015, 09:30 AM   #5
psyang
Powerplay Quarterback
 
Join Date: Jan 2010
Exp:
Default

Quote:
Originally Posted by nfotiu View Post
Not sure what it would be called. But pretty sure the right formula would be 30*29*30*29*30*29*20*19*10
You are off by a factor of 8 because you are using the permutation function instead of the choose function. The difference is that permutations can include duplicates since it doesn't take order into account.

So, someone picking player A then player B from a list of 30 players would not be the same as someone picking player B then player A.

Using the choose function, those two are identical, so aren't counted twice. This is why when picking 2 from a group, the choose function is half the permutation function:

30c2 = 435
30p2 = 870
psyang is offline   Reply With Quote
The Following 3 Users Say Thank You to psyang For This Useful Post:
Old 03-18-2015, 09:30 AM   #6
nfotiu
Franchise Player
 
Join Date: May 2002
Location: Virginia
Exp:
Default

Quote:
Originally Posted by psyang View Post
You want the "choose" function:

a Choose b = a!/[(a-b)!b!]

So, 5 choose 2 = 5!/(3!2!) = 120/(6*2) = 10. So there are 10 ways to choose 2 from a group of 5.

In your case, you want (30c2)*(30c2)*(30c2)*(20c2)*(10c1) = 435*435*435*190*10 = 156 394 462 500 possibilities (156.4 billion)
Yeah, that makes more sense. Ignore my response above, it would assume order mattered.
nfotiu is offline   Reply With Quote
The Following User Says Thank You to nfotiu For This Useful Post:
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 -6. The time now is 05:12 AM.

Calgary Flames
2024-25




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright Calgarypuck 2021 | See Our Privacy Policy