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 1 of 3: Reformulate the answers as candidate sets
In plain words

A truthful answer says that x lies in the chosen set, while a lie says it lies in the complement; every block of k+1 answers must therefore cover the true x.

Pj∈{Dj,Djc},x∈Pj∪⋯∪Pj+kP_j\in\{D_j,D_j^c\},\qquad x\in P_j\cup\cdots\cup P_{j+k}
Detailed analysis

For the j-th question let DjD_j be B's set and let PjP_j be DjD_j when A answers yes, or DjcD_j^c when A answers no. At least one answer in every k+1k+1 consecutive answers is truthful, so the unknown x belongs to Pj∪⋯∪Pj+kP_j\cup\cdots\cup P_{j+k} for every j.