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

Home > General
Open By Majority (Posted on 2004-03-03) Difficulty: 3 of 5
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?

See The Solution Submitted by Brian Smith    
Rating: 4.1429 (7 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts re(2): 2 for all but 1 | Comment 41 of 45 |
(In reply to re: 2 for all but 1 by SilverKnight)

SK, I had a trip through the day.  Whilst travelling I reflected that my solution may have been flawed.  On arrival home I found that only 2 persons would be need in some instances, so I revise my solution somewhat upwards.

I was suggesting that 4 locks are therefore the minimum and with 10 keys distributed in pairs to each person such that each has a unique pair.

eg
                               Person
Lock     A      B      C      D      E
 1         x                      x
 2         x               x               x
 3                  x      x      x     
 4                  x                       x

I note however that  B, C and E could not open the chest.
Back to the drawing board!

Edited on March 5, 2004, 1:07 am
  Posted by brianjn on 2004-03-05 01:00:56

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