OT: Math Question

Mikemarc

Heisman
Nov 28, 2005
69,220
17,902
97
Just a random question I'd like help answering.

Has to do with a football pool I just entered.

32 NFL football teams..and you pick 3 at random.

How many 3 team lists are possible without duplicating the same three teams?
 

KeithK7624

All-Conference
Sep 3, 2006
4,151
3,022
0
30,720... 32x31x30

... I think? I used to kick *** in math but it's been about 10 years since I've used anything other than day to day to stuff like addition/multiplication
 
  • Like
Reactions: rubaseball78_rivals

RUGT

Senior
Sep 13, 2013
838
566
93
I thought at first it was that easy..but then second guessed myself. Thanks.

I think that is correct.
This is wrong because it treats {Eagles, Cowboys, Giants} as a separate list from {Cowboys, Giants, Eagles} even though they are identical, just different order.

This is a n choose k problem, so formula is (n!) / (n-k)!(k)! (where n = 32, k = 3). Solution is 4960.
 

Mikemarc

Heisman
Nov 28, 2005
69,220
17,902
97
I thought at first it was that easy..but then second guessed myself. Thanks.

I think that is correct.
This is wrong because it treats {Eagles, Cowboys, Giants} as a separate list from {Cowboys, Giants, Eagles} even though they are identical, just different order.

This is a n choose k problem, so formula is (n!) / (n-k)!(k)! (where n = 32, k = 3). Solution is 4960.

What is exclamation point function?
 

LC-88

All-Conference
Apr 24, 2010
7,160
2,795
0
This is wrong because it treats {Eagles, Cowboys, Giants} as a separate list from {Cowboys, Giants, Eagles} even though they are identical, just different order.

This is a n choose k problem, so formula is (n!) / (n-k)!(k)! (where n = 32, k = 3). Solution is 4960.
Just noticed your avatar. I started at Tech in 1982 (M.E.), then xfered to RU in winter 1984 (C.S.).
 

KeithK7624

All-Conference
Sep 3, 2006
4,151
3,022
0
This is wrong because it treats {Eagles, Cowboys, Giants} as a separate list from {Cowboys, Giants, Eagles} even though they are identical, just different order.

This is a n choose k problem, so formula is (n!) / (n-k)!(k)! (where n = 32, k = 3). Solution is 4960.
I'd normally agree, but I don't think the order matters?
 

LETSGORU91_

All-American
Jan 29, 2017
6,500
7,245
0
32x31x30 is not the right answer to the question..I don't think. Multiplying those numbers gives you a number which includes duplicates of the three teams but in different orders. Dumbing it down, if you have only three teams, multiplying 3x2x1 gives you six possible combinations of the three numbers..in different orders. BUT answering the question of the OP, there is only one possible group of these three teams.

See above for the probable correct answer of 4960.
 
Last edited:

Mikemarc

Heisman
Nov 28, 2005
69,220
17,902
97
This is wrong because it treats {Eagles, Cowboys, Giants} as a separate list from {Cowboys, Giants, Eagles} even though they are identical, just different order.

This is a n choose k problem, so formula is (n!) / (n-k)!(k)! (where n = 32, k = 3). Solution is 4960.
I'd normally agree, but I don't think the order matters?

Order doesn't matter

Your answer includes the list Giants, Eagles and Cowboys as well as the list Eagles, Giants and Cowboys.

Teams are same..order different. RUGT is correct, I think
 

zgoru

All-American
Nov 19, 2006
6,278
5,343
113
Factorial. n! = n*(n-1)*(n-2)*....(1)
Great, now I'm going to have those walking in to a final and never been to class nightmare. I did not particularly like my probability and statistics class. Was exhilirated to walk away with a B- in the class.
 

Veiox

All-Conference
Sep 30, 2013
2,404
1,063
0
Without knowing the exact formula shown above with k, I figured it logically as follows:
n!/(n-3)! = 32*31*30 = 29760 so there are 29760 combos

3 teams selected and since order does not matter, there are 3*2*1 of the same 3 teams = 6 dups of same three (i.e., ABC, ACB, BAC, BCA, etc)

29760/6 = 4960

Answer matches above and actually makes sense to me.
 

GoodOl'Rutgers

Heisman
Sep 11, 2006
123,974
19,586
0
So sad.. I knew this stuff cold in school and for at least a decade later.. and actually used such things occasionally in my work.. now.. all but gone.
 
  • Like
Reactions: LC-88

DirtyRU

All-American
Nov 16, 2002
6,514
6,089
113
 

SkilletHead2

All-American
Sep 30, 2005
24,451
9,276
113
If we have 32 teams, and we want 3 team groupings, and order doesn't matter, then the formula is n!/r!(n-r)!. The answer is 4960. Veiox has a nice explanation.

It's always easier (in my mind) to simplify the problem to understand the formula. Imagine there were 6 teams and you wanted to find all possible pairs of teams taken from that. So this is 6 teams taken 2 at a time. Start with team A. It has 5 possible other teams it could be paired with. Now team A is done and we have 5 unique pairs. So go to team B. It can be paired with 4 unique teams since it's already been paired with team A. Add in 4 more teams. Now team C. Been paired with A and B, so add 3 more in. Then 2 with D, and 1 more with E. When you get to F, all the pairings have been done.

So that is 5 + 4 + 3 + 2 + 1 = 15. Now, that is the same number we get if we do 6!/4!2! This is (6x5x4x3x2x1)/(4x3x2x1)(2x1). It works.

But it doesn't really tell us why the formula works. Need a bit of thinking cap for that. The numerator (6x5x4x3x2x1) gives us all possible orderings of all six teams. Any of the 6 could be first, but once that has been determined, only 5 can be second, etc., so 6x5x4x3x2x1.

But, we don't want all six possible orderings, we only want two. So instead of multiplying 6x5x4x3x2x1, we only want to multiply 6x5. That is, if we were taking two teams, then 6 could be first. Once we had a first, only 5 teams remain to be second. In terms of our formula, that is why we divide by (n-r)!. We want to get rid of the 4x3x2x1 because they aren't in our pairings. That's one part of the denominator. BUT, if we do that, we will have 30 possibilities, not 15. Why? That is because we are counting A/B and B/A as two different pairs. We are taking order into account. But we don't want to take order into account. So we have to ask how many orderings are there? Well, for each pair, there are two orderings (obviously). That is why we also put r! (which would be 2! here) into the denominator. Thus, we can solve the problem using 6!/4!2!

Moving back to the original question, we have 32 teams taken 3 at a time. We start with
32! in the numerator to give us all possible orderings. Then, in the numerator, we back out the ones we don't want by dividing by 29! We just want 32x31x30. But that still leaves what order they are in as part of answer, which we don't want. So we have to divide out the number of possible orderings of each set of three teams. How many of those are there? Six (think: ABC, ACB, BAC, BCA, CAB, CBA). Six also happens to nicely be 3!. Hence the formula is 32!/29!3! = 4960.

And here is your interesting twist on this. With 32 teams, how many different leagues could you develop (again, ordering doesn't matter). You can try this yourself. I'll put the answer in the next paragraph.

yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada

The answer is 32 teams taken 16 at a time, or 32!/16!16! = 601,080,390. That's right. 600 million different leagues. And my Browns wouldn't be champions in any one of them.
 

LC-88

All-Conference
Apr 24, 2010
7,160
2,795
0
If we have 32 teams, and we want 3 team groupings, and order doesn't matter, then the formula is n!/r!(n-r)!. The answer is 4960. Veiox has a nice explanation.

It's always easier (in my mind) to simplify the problem to understand the formula. Imagine there were 6 teams and you wanted to find all possible pairs of teams taken from that. So this is 6 teams taken 2 at a time. Start with team A. It has 5 possible other teams it could be paired with. Now team A is done and we have 5 unique pairs. So go to team B. It can be paired with 4 unique teams since it's already been paired with team A. Add in 4 more teams. Now team C. Been paired with A and B, so add 3 more in. Then 2 with D, and 1 more with E. When you get to F, all the pairings have been done.

So that is 5 + 4 + 3 + 2 + 1 = 15. Now, that is the same number we get if we do 6!/4!2! This is (6x5x4x3x2x1)/(4x3x2x1)(2x1). It works.

But it doesn't really tell us why the formula works. Need a bit of thinking cap for that. The numerator (6x5x4x3x2x1) gives us all possible orderings of all six teams. Any of the 6 could be first, but once that has been determined, only 5 can be second, etc., so 6x5x4x3x2x1.

But, we don't want all six possible orderings, we only want two. So instead of multiplying 6x5x4x3x2x1, we only want to multiply 6x5. That is, if we were taking two teams, then 6 could be first. Once we had a first, only 5 teams remain to be second. In terms of our formula, that is why we divide by (n-r)!. We want to get rid of the 4x3x2x1 because they aren't in our pairings. That's one part of the denominator. BUT, if we do that, we will have 30 possibilities, not 15. Why? That is because we are counting A/B and B/A as two different pairs. We are taking order into account. But we don't want to take order into account. So we have to ask how many orderings are there? Well, for each pair, there are two orderings (obviously). That is why we also put r! (which would be 2! here) into the denominator. Thus, we can solve the problem using 6!/4!2!

Moving back to the original question, we have 32 teams taken 3 at a time. We start with
32! in the numerator to give us all possible orderings. Then, in the numerator, we back out the ones we don't want by dividing by 29! We just want 32x31x30. But that still leaves what order they are in as part of answer, which we don't want. So we have to divide out the number of possible orderings of each set of three teams. How many of those are there? Six (think: ABC, ACB, BAC, BCA, CAB, CBA). Six also happens to nicely be 3!. Hence the formula is 32!/29!3! = 4960.

And here is your interesting twist on this. With 32 teams, how many different leagues could you develop (again, ordering doesn't matter). You can try this yourself. I'll put the answer in the next paragraph.

yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada

The answer is 32 teams taken 16 at a time, or 32!/16!16! = 601,080,390. That's right. 600 million different leagues. And my Browns wouldn't be champions in any one of them.
SkilletHead, you lost me at "Imagine..."
Getting old does suck. First my pencil stopped working, then my brain.
 

SkilletHead2

All-American
Sep 30, 2005
24,451
9,276
113
SkilletHead, you lost me at "Imagine..."
Getting old does suck. First my pencil stopped working, then my brain.
You could be younger than me. I don't know if my pencil is working or not because I can't find it. But I'm still pretty good at math.
 

RU848789

Heisman
Jul 27, 2001
65,191
44,271
113
If we have 32 teams, and we want 3 team groupings, and order doesn't matter, then the formula is n!/r!(n-r)!. The answer is 4960. Veiox has a nice explanation.

It's always easier (in my mind) to simplify the problem to understand the formula. Imagine there were 6 teams and you wanted to find all possible pairs of teams taken from that. So this is 6 teams taken 2 at a time. Start with team A. It has 5 possible other teams it could be paired with. Now team A is done and we have 5 unique pairs. So go to team B. It can be paired with 4 unique teams since it's already been paired with team A. Add in 4 more teams. Now team C. Been paired with A and B, so add 3 more in. Then 2 with D, and 1 more with E. When you get to F, all the pairings have been done.

So that is 5 + 4 + 3 + 2 + 1 = 15. Now, that is the same number we get if we do 6!/4!2! This is (6x5x4x3x2x1)/(4x3x2x1)(2x1). It works.

But it doesn't really tell us why the formula works. Need a bit of thinking cap for that. The numerator (6x5x4x3x2x1) gives us all possible orderings of all six teams. Any of the 6 could be first, but once that has been determined, only 5 can be second, etc., so 6x5x4x3x2x1.

But, we don't want all six possible orderings, we only want two. So instead of multiplying 6x5x4x3x2x1, we only want to multiply 6x5. That is, if we were taking two teams, then 6 could be first. Once we had a first, only 5 teams remain to be second. In terms of our formula, that is why we divide by (n-r)!. We want to get rid of the 4x3x2x1 because they aren't in our pairings. That's one part of the denominator. BUT, if we do that, we will have 30 possibilities, not 15. Why? That is because we are counting A/B and B/A as two different pairs. We are taking order into account. But we don't want to take order into account. So we have to ask how many orderings are there? Well, for each pair, there are two orderings (obviously). That is why we also put r! (which would be 2! here) into the denominator. Thus, we can solve the problem using 6!/4!2!

Moving back to the original question, we have 32 teams taken 3 at a time. We start with
32! in the numerator to give us all possible orderings. Then, in the numerator, we back out the ones we don't want by dividing by 29! We just want 32x31x30. But that still leaves what order they are in as part of answer, which we don't want. So we have to divide out the number of possible orderings of each set of three teams. How many of those are there? Six (think: ABC, ACB, BAC, BCA, CAB, CBA). Six also happens to nicely be 3!. Hence the formula is 32!/29!3! = 4960.

And here is your interesting twist on this. With 32 teams, how many different leagues could you develop (again, ordering doesn't matter). You can try this yourself. I'll put the answer in the next paragraph.

yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada yada

The answer is 32 teams taken 16 at a time, or 32!/16!16! = 601,080,390. That's right. 600 million different leagues. And my Browns wouldn't be champions in any one of them.

Good stuff. Nowadays I probably use stats more in poker than anything else. In Hold-em, where you get 2 cards, there are 52!/(50!x2!) possible 2-card hands (52 cards, taken two at a time) or 1326 hands.

The interesting thing, though, in poker, is no one suit is better than any other suit, so which suit one gets doesn't matter (before the flop), although suited vs. non-suited does. So there are actually 169 non-redundant 2-card starting hands: 13 pairs, 78 non-suited non-pairs and 78 suited non-pairs.
 

Scarlet Haze

Senior
Aug 31, 2016
633
859
0
You are all wrong. It is not 4960 but 4961. How can you be so foolish. The proof is below (and so obvious)