|
|
|
|
|
by drbaskin
5551 days ago
|
|
"If you had 5,623 participants in a tournament, how many games would need to be played to determine the winner?"
Let d = Log_2 N. Sum 2^(d-k) for k = 0 ... d The a-ha solution to this puzzle is to realize that every participant but one has to lose exactly once. Each game has only one loser, so you need 5622 games. Your method overestimates the number of games needed because you start counting at 0. (Think about the simple case where N=2.) Even if you started counting at 1, your method wouldn't in general give an exact answer (and would typically under- or over-estimate depending on whether you started counting at 1 or 0, respectively), but if you had a nice power of two (say, 2^d on the nose), then the sum from 1 to d of 2^(d-k) would give you exactly 2^d -1, which agrees with the a-ha answer. |
|