MathLabs

Problem 3

In the liar's guessing game, A chooses an integer xx with 1≤x≤N1\le x\le N and tells B the integer NN. B asks questions of the form “does xx belong to the set DD?”, where DD is any set of positive integers. A may answer each question truthfully or falsely, but among every k+1k+1 consecutive answers at least one must be truthful. After finitely many questions B names a set XX of at most nn positive integers and wins if x∈Xx\in X. Prove (a) if n≥2kn\ge2^k then B can guarantee a win; (b) for all sufficiently large kk, some n≥1.99kn\ge1.99^k defeats every strategy.
Step 2 of 3: B can eliminate one candidate whenever more than 2k2^k remain
In plain words

Choose each next question inside the candidates not yet covered by the previous possible truthful sets, keeping two large halves until one candidate is uncovered.

N≥2k+1⟹reduce the candidate set by oneN\ge2^k+1\Longrightarrow\text{reduce the candidate set by one}
Detailed analysis

Assume the current candidate set S has N≥2k+1N\ge2^k+1 elements. Choose D1D_1 so both sides have at least 2k−12^{k-1} elements. After P1P_1 is known, choose D2D_2 so both D2∩P1cD_2\cap P_1^c and D2c∩P1cD_2^c\cap P_1^c have at least 2k−22^{k-2} elements; continue so that after j answers the uncovered set has two such halves of size at least 2k−j2^{k-j}. After k answers choose Dk+1D_{k+1} to be a singleton outside P1∪⋯∪PkP_1\cup\cdots\cup P_k. If Pk+1=Dk+1cP_{k+1}=D_{k+1}^c, discard that singleton. If Pk+1=Dk+1P_{k+1}=D_{k+1}, repeat the k-step construction on S∖Dk+1S\setminus D_{k+1}; the union Pk+1∪⋯∪P2k+1P_{k+1}\cup\cdots\cup P_{2k+1} contains x and omits at least one candidate. Thus B reduces N by one. Iterating leaves at most 2k2^k candidates, which B may name as X.