Sunday Times Teaser 3199 – County Cup
by Edmund Marshall
Published Friday January 12 2024 (link)
In our county football competition, fewer than 100 teams compete in two stages. First, the teams are allocated to more than two equally-sized groups, and in each group there is one match between each pair of teams. The top two teams in each group proceed to the first round of the knockout stage, where a single match between two teams eliminates one of them. If the number of teams entering the knockout stage is not a power of 2, sufficiently many teams are given byes (they don’t have to play in the first round), so that the number of teams in the second round is a power of 2. The knockout stage continues until only one team remains. In one year the competition was played with a single match on every day of the year.
How many teams were in the competition that year?
Based on your setup and with more analysis.
Nice, it took me awhile to get to understand the formula.
The code also suggest an upper limit for g as r increases when g increases.
I decided to join the fun!