I am thinking of an integer in the interval [1-15]. You are to try to guess it by telling me intervals and I will tell you if my number lies in that interval.
For example if my number is 6 and you guess [6-9] I will tell yes but if you guess [7-11] I will tell you no but not if my number is higher or lower.
You win by guessing an interval of just one number and that number is my number. Find a strategy that minimizes the expected number of guesses.
(In reply to
re(2): some thoughts -- cases of small n by Steven Lord)
As far as choosing the smaller one, it really only matters if that smaller one has only 1 member, and the only reason it has an advantage is that it might actually be the solution.
Otherwise it doesn't make a difference. If you specify the smaller one, if the answer is no, you know it's in the larger one, and vice versa. Informationally, you gain the same knowledge whichever of the two that you choose.
|
Posted by Charlie
on 2019-10-23 21:36:27 |