All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General
Interval Guessing (Posted on 2019-10-21) Difficulty: 2 of 5
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.

No Solution Yet Submitted by Brian Smith    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: Full solution: 15 and beyond | Comment 7 of 10 |
(In reply to Full solution: 15 and beyond by Steve Herman)

Thanks for the in-depth treatment. It was bothering me to have to assume the binary method was the the only game in town. But I believe your conclusion is that: it can be equaled with other bracketing schemes, but not beaten. If this true holds for all N, it is a refutation of the claim of the (somewhat unreadable) paper I cited of the superiority of their quadratic method. While people spend a lot of effort optimizing other aspects of such searches (like speed and storage), if "mean number bracketing steps" is alone the parameter to be optimized, then I think you are saying even for low N, the binary scheme can not be beat. If it could be beat, this would be important in computer science.


Finally, there is one part of this puzzle that I find idiosyncratic: in some searches, the contestant may learn the answer, but must still take one last step to announce the answer. In other cases the contestant does not know the answer but finds it on the last step. If the challenge is changed to: "how many steps to simply to know the answer?", would your results change?  

Edited on October 24, 2019, 6:04 pm
  Posted by Steven Lord on 2019-10-24 15:49:07

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information