A group of five people want to put a set of locks on a chest and distribute keys to the locks amongst themselves in such a way that all the locks on the chest could be opened only when at least three of them were present to open it.
How many locks would be needed, and how many keys?
(In reply to
re(2): 2 for all but 1 by brianjn)
Any two of these people must lack a key to at least one lock. But then the other three must all have a key to that lock; otherwise there would be three people who couldn't unlock it.
So there are at least 10 locks, since there are 10 groups of two people among 5. It is a waste of time to look for a solution with less than 10 locks.
|
Posted by Penny
on 2004-03-05 07:45:12 |