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

Home > Logic
Mathematician Versus Detective (Posted on 2003-11-05) Difficulty: 3 of 5
The police commissioner hired a mathematician to help at a crime scene. At the scene were between 100 and 200 glasses of wine. Exactly one glass was poisoned. The police lab could test any sampling for poison. A group of glasses could be tested simultaneously by mixing a sample from each glass. The police commissioner desired only to minimize the maximum possible tests required to determine which exact glass was poisoned.

The mathematician started by asking a detective to select a single glass at random for testing. "Wouldn't that waste a test?", the detective asked. "No, besides I'm in a gambling mood.", the mathematician replied. How many glasses were there?

See The Solution Submitted by Ravi Raja    
Rating: 3.4444 (9 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution | Comment 16 of 21 |
There must have been 129 glasses.

Removing 1 (the random test at the start) leaves 128, which divides by 2 all the way down to 1. Therefore half the sample can be tested (starting with 64) and, if no poison is found that half can be discarded. If poison IS found in that half, the other half are discarded. Then you test half the remaining glasses, again discarding the half with no poison. keep halving the sample until you are down to the last 2, then test 1.
  Posted by Mark Longhurst on 2003-11-12 03:47:14
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 (24)
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