Problem

Source: MEMO 2024 T3

Tags: combinatorics, combinatorics proposed, game, game strategy



There are $2024$ mathematicians sitting in a row next to the river Tisza. Each of them is working on exactly one research topic, and if two mathematicians are working on the same topic, everyone sitting between them is also working on it. Marvin is trying to figure out for each pair of mathematicians whether they are working on the same topic. He is allowed to ask each mathematician the following question: “How many of these 2024 mathematicians are working on your topic?” He asks the questions one by one, so he knows all previous answers before he asks the next one. Determine the smallest positive integer $k$ such that Marvin can always accomplish his goal with at most $k$ questions.