A New Twist in a Famous Problem
blog.tanyakhovanova.com·1d
🧩SAT Solvers
Preview
Report Post

A New Twist in a Famous Problem

26th December 2025, 05:27 pm

I recently gave my STEP students a question from our old 2014 PRIMES entrance test.

Puzzle. John’s secret number is between 1 and 216 inclusive, and you can ask him yes-or-no questions, but he may lie in response to one of the questions. Explain how to determine his number in 21 questions.

Here is the standard solution. We start by asking John to convert his number into binary and add zeros at the beginning if needed to make the result a binary string of length 16. For the first 15 questions, we do the following. For question i, we ask: “Is the i-th digit of your string zero?” For…

Similar Posts

Loading similar posts...