The liar's guessing game is a game played between two players AA and BB. The rules of the game depend on two positive integers kk and nn which are known to both players.

At the start of the game AA chooses integers xx and NN with 1xN1 \leq x \leq N. Player AA keeps xx secret, and truthfully tells NN to player BB. Player BB now tries to obtain information about xx by asking player AA questions as follows: each question consists of BB specifying an arbitrary set SS of positive integers (possibly one specified in some previous question), and asking AA whether xx belongs to SS. Player BB may ask as many such questions as he wishes. After each question, player AA must immediately answer it with yes or no, but is allowed to lie as many times as she wants; the only restriction is that, among any k+1k + 1 consecutive answers, at least one answer must be truthful.

After BB has asked as many questions as he wants, he must specify a set XX of at most nn positive integers. If xx belongs to XX, then BB wins; otherwise, he loses. Prove that:

  1. If n2kn \geq 2^k, then BB can guarantee a win.
  2. For all sufficiently large kk, there exists an integer n1.99kn \geq 1.99^k such that BB cannot guarantee a win.