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?
I have a solution that can work, but another item is required, A second smaller chest to house 3 keys.
there will only be one lock on the smaller chest and three keys will be distributed to 3 of the 5 people.
inside the chest there is another set of 3 keys, one for each lock that needs to be on the chest.
the locks on the main chest are distributed such that one person can reach only one lock at a time and the lock is not a standard padlock, it is the type that once the key is removed or even let go of, the lock will close itself, in the UK we call these Yale locks, as a result of this 3 people need to operate the locks simultaneously.
therefore 4 locks are required and 6 keys.
Edited on March 11, 2004, 11:42 am
|
Posted by Juggler
on 2004-03-11 11:40:17 |