The Maths Site
    
HomeForumPuzzlesAudioVideoToolsDonateHistoryContact
Log in here







Forgotten your password?



Or Click to register

iSquared Magazine

The Daily Rant

Puzzles
The "Guess my number" Game

Probably everyone has played the "guess my number" game. I choose a target number in some pre-determined range, you try to guess it, and I tell you if you're too high, too low, or if you happened to be lucky and guess it exactly. As most people know, the best strategy for this game is to guess the middle number in the range. If you're right, the game is over in a hurry. But if not, at least you've narrowed the field down to half the original size. You can then make your next guess the middle number of the remaining set of choices.

Now suppose that the target number is chosen randomly from the numbers 1 to 127. (This simply means that each of the 127 possibilities has the same likihood of being the target number.) What is the average number of guesses the usual strategy will require to find the target?

Happy guessing!

 
Social Bookmarking
Add to: Digg Add to: del.icio.us Add to: StumbleUpon Add to: Google
 
Comments
Login or register to add your comments.
fearforceareso04:59:43, 23 Apr 08
sumit1993's picture
Newbie
Group:Members
Points: 0
Posts: 1
Warn level: 0

silly question

 


© Copyright Andy Drizen 2004-2007 | Website by Think In Colour | Proudly sponsored by JSC Solutions
Valid XHTML 1.0 Transitional Valid CSS!