5 teams are participating in a tournment; each team will play every other team; win = 1 point; lose = 0 point
How many total permutations are possible in points table
for example, below is one possible permutation : 4 3 2 1 0 it means : first team : win = 4, lose = 0 second team : win = 3, lose = 1 third team : win = 2, lose = 2 fourth team : win = 1, lose = 3 fifth team : win = 0, lose = 4
help !
do you have an answer?
2^5?
You use combinations for this.
yes
I have been trying from last couple of days
Hmmm
some combinations/permutations are missing some how how do I know below permutation is not valid ? 4 4 2 0 0 It is not valid, Is there any general method to prune them out ?
each team plays 4 games...
So more than 1 team cannot win all 4 games
total wins is 10 and total loses is 10
SUM w = 10 SUM L = 10
each team w <= 4, : <= 4
requires more constraining
Okay, so here is my plan.... The number of wins for team \(i\) will be \(w_i\).
I am following
\[ \sum_iw_i = 10 \]
If we can distribute the wins, then loses will be determined by that.
Yes I got that !
We can't have 4+4+2+0 or 4+4+0+0 like you said...
however both are different cases 4 + 4 + 0 + 0 is easy to prune out as the sum is not 10
We could sort the teams by the number of wins, and then find permutations after the fact
4 3 _ _ _
remaining teams must add up to 10-4-3 = 3
will there be some invalid permutations ?
4 3 3 0 0 I think it is invalid
somehow i feel helpless identifying the pattern :/
I'm not sure if there is a simple solution to this, actually
Hmmm, ignoring scores for a second, the total number of match ups would be...
I think 4 3 3 0 0 is invalid.
The first team never loses. The second team can only lose to the first team. The third team can only lose to the first team. Does the third team win or lose to the second team?
I tried to create a simulation, but it would take almost a day to run it on 5 teams. http://jsfiddle.net/wio_dude/9Lebe/25/ It doesn't take long with 4 teams though. I wonder if there is any insight to be found from it.
|dw:1395731063803:dw|
Join our real-time social learning platform and learn together with your friends!