
Quick answer: Five truthful yes-or-no answers can distinguish up to 2⁵ = 32 possibilities. To guarantee success, each question should split the remaining numbers as evenly as possible. This is the same decision principle used by binary search.

Rules
- One player secretly chooses an integer from 1 through 32.
- The number stays fixed.
- The questioner asks at most five questions answered only yes or no.
- Every answer must be truthful.
- The fifth answer must leave exactly one possible number.
The best first question
Ask, “Is the number greater than 16?” A yes leaves 17–32; a no leaves 1–16. Either outcome preserves 16 candidates. The next question splits the surviving half again. Avoid asking “Is it 1?” because a no usually removes only one possibility.
Worked round: secret number 23
| Question | Answer | Remaining range |
|---|---|---|
| Greater than 16? | Yes | 17–32 |
| Greater than 24? | No | 17–24 |
| Greater than 20? | Yes | 21–24 |
| Greater than 22? | Yes | 23–24 |
| Greater than 23? | No | 23 |
Why five questions are enough
Each yes-or-no question has two possible outcomes. Five questions create 2 × 2 × 2 × 2 × 2 = 32 possible answer paths. A well-designed decision tree assigns one number to each path. Four questions create only 16 paths, so they cannot guarantee identification among 32 equally possible numbers.
Build your own question tree
Write 1–32 on paper. After every answer, cross out the rejected half and write the new endpoints. If an even number of candidates remains, split them equally. If the count is odd, one branch may contain one extra candidate.
Variations
- 1–64: allow six questions.
- 1–100: seven questions are sufficient because 2⁶ is 64 but 2⁷ is 128.
- Unordered objects: ask whether the object belongs to a clearly defined half of the list.
- Reverse game: give the five answers and ask the player to reconstruct the number.
Common mistakes
- Changing the secret number after a question.
- Using a vague question whose boundary is unclear.
- Forgetting whether an endpoint remains included.
- Repeating a question that provides no new information.
- Guessing early when several candidates still fit.
Mini challenge
The secret number is between 1 and 32. The answers are: greater than 16—no; greater than 8—yes; greater than 12—no; greater than 10—yes; greater than 11—no. The number is 11.
Frequently asked questions
Does any set of five questions work?
No. Five is an information limit, but the questions must distinguish all possibilities.
Can a player use “equal to” questions?
Yes, but repeated single-number guesses do not guarantee success in five turns.
What concept does the game teach?
It demonstrates binary decisions, logarithms, information capacity and binary search.
Play next
Try the nine-coin balance puzzle and the interactive binary-search number game.
This original educational game was prepared for ST College. It makes no medical or cognitive-performance claims.




