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.)
re(5): Waste a test | Comment 11 of 21 |
(In reply to re(4): Waste a test by Saso)

Saso, I agree with your last statement! In BOTH of your cases (method A and method B), the maximum possible is 8 tests.

The point of the problem, though, is ... given that we know that exactly one glass is poisoned, the MAXIMUM for 128 glasses is seven tests (assuming you use the appropriate algorithm).

As soon as I have more than 128 glasses (and no more than 256), then the maximum becomes eight tests.

But if, as the problem suggests, a detective FIRST selects a single glass at random, then we are diverging from the optimal method.

The point here is that it doesn't change the maximum if we have only 129 glasses, because if we don't find the poison in the first glass, then we can continue with 7 tests to find it (maintaining 8 total checks).

If we have 130 glasses, and we don't find the poison in the first glass, it is possible (even if improbable) that the next 7 tests will only bring us to TWO candidates, and a ninth test will be required to find the suspect glass.
____________________

I also do not wish to argue, but, as I hope you'll agree, it is important that language be used precisely, particularly in problem statements (such as on Flooble).

Nevertheless, misunderstandings and ambiguities occur, and you can find several problems on this site where it ended up causing multiple possible solutions (varied from the intended singular solution).

--- SK
  Posted by SilverKnight on 2003-11-07 09:00:16

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 (3)
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