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(3): some thoughts -- cases of small n | Comment 5 of 10 |
(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
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (8)
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