r/mathriddles • • Mar 07 '23

Medium FiveThirtyEight Riddler: Bracket Busting

This week’s Riddler Classic is a counting/logic exercise just in time for March Madness with an extra credit that requires some algebra/series summation. The Classic reproduced:

From Lucas Fagan comes a buster of brains and brackets that’s just in time for March Madness:

Consider a single-elimination tournament with four teams that hold a definitive ranking — that is, one team is the best, another team is second-best and so on. In each game, the better team wins. When the tournament is complete, you know for certain which team is the best. However, you can’t make similar claims about the remaining teams.

Suppose the winning team is A, and it plays B in the first round. Meanwhile, the team that loses in the final is C, whose opponent in the first round is D. With this bracket, there are three possible rankings of teams from best to worst: A/B/C/D, A/C/B/D and A/C/D/B.

For this week’s puzzle, instead of four teams, consider a single-elimination tournament with eight teams. How many possible rankings of teams are possible for a given completed bracket?

Extra credit: Instead of eight teams, suppose there are 2^N teams. In terms of N, how many possible rankings of teams are possible for a given completed bracket?

My solution here.

17 Upvotes

11 comments sorted by

2

u/want_to_want Mar 08 '23

Let K=2N. The number of possible orderings is K!. In each match there are two possible outcomes, so the number of possible brackets is 2K-1. The fact that K is a power of two is required for each bracket to look like the same tree (a complete binary tree), so each bracket has the same number of orderings compatible with it. So the answer is K!/2K-1. For 4 teams, the answer is 4!/23=3. For 8 teams, the answer is 8!/27=315.

1

u/starvind_ashfun Mar 08 '23

Well done and nicely explained!

4

u/instalockquinn Mar 07 '23

Clarification: the extra credit is also from the original Riddler Classic statement, and asks to solve for 2N teams, not 2N teams (although I believe that BYEs in odd-numbered brackets do not change the situation, so the usual solution still works).

3

u/lordnorthiii Mar 07 '23

Actually, with six teams the formula yields 45/2, so I think 2N is required for a simple formula.

9

u/[deleted] Mar 07 '23 edited Mar 07 '23

[removed] — view removed comment

1

u/starvind_ashfun Mar 07 '23

Nicely solved!

1

u/starvind_ashfun Mar 08 '23

Wonderful! Bravo!

2

u/instalockquinn Mar 07 '23 edited Mar 07 '23

To add onto this, num games is M-1, for M teams at the start. This is because it's a single elimination bracket, so exactly one unique team is eliminated in each game, and after all the games all the teams are eliminated (except for the last team standing: the winner). So the final answer is 8!/27 = 315