Henry Ernest Dudeney/Modern Puzzles/101 - Twenty Questions/Solution

by : $101$

 * Twenty Questions

Solution
Successively ask:


 * Does the number divided by $2$ leave a remainder?
 * Does the quotient divided by $2$ leave a remainder?
 * Does that quotient divided by $2$ leave a remainder?

Each of the $20$ questions will be the same.

Write down a string from right to left of:
 * $1$ if the answer is yes
 * $0$ if the answer is no.

The number sought in binary form is what you have written down.