6 generals propose locking a safe with a number of different locks

  • Thread starter shravan
  • Start date
In summary, 6 generals need to lock a safe with 20 different locks. Each general will have 10 keys, and in total, there will be 20 keys distributed among them. This ensures that the safe can only be opened if 4 generals are present and combine their keys. The key distribution for each general is outlined above.
  • #1
shravan
16
0
6 generals propose locking a safe with a number of different locks .each general will be given a key to certain of these locks .how many locks and keys are required and how many keys must each general possesses such that the lock will be opened only if 4 generals are present?
 
Physics news on Phys.org
  • #2
it may be like this

we can select 4 generals from 6 in 15 ways.hence 15 locks are required are required & 15 keys are required.each general must possesses atleast 3 keys each.
 
  • #3
There are 6 people and you need that only if 4 combines all the locks will be opened
ie if you take any 3 people there will be 1 lock which needs to be opened and the key to that is available only with any of the other 3 people
Hence for any 3 people you need to distribute one lock among the other 3 peopl
This requires a total of 6C3 distinct locks wie 20 distinct locks
Hence the safe should be locked with 20 locks and te key distribution for each of the general would be
General 1 :K1, K2, K3, K4, K5, K6, K7, K8, K9, K10,
General 2 :K1, K2, K3, K4, K11, K12, K13, K14, K15, K16,
General 3 :K1, K5, K6, K7, K11, K12, K13, K17, K18, K19,
General 4 :K2, K5, K8, K9, K11, K14, K15, K17, K18, K20,
General 5 :K3, K6, K8, K10, K12, K14, K16, K17, K19, K20,
General 6 :K4, K7, K9, K10, K13, K15, K16, K18, K19, K20,
 

FAQ: 6 generals propose locking a safe with a number of different locks

What is the purpose of locking a safe with multiple locks?

The purpose of locking a safe with multiple locks is to increase the security of the safe and make it more difficult for unauthorized individuals to open.

How many locks should be used to effectively secure a safe?

It is recommended to use at least six locks to effectively secure a safe, as proposed by the six generals in the question. However, the number of locks may vary depending on the size and value of the items being stored in the safe.

What types of locks should be used to secure a safe?

It is best to use different types of locks, such as combination locks, key locks, and electronic locks, to secure a safe. This will add an extra layer of security and make it more difficult for someone to open the safe without the correct combination or key.

Is it possible for all six locks to be opened simultaneously?

It is highly unlikely for all six locks to be opened simultaneously, unless the correct combination or key is used for each lock. This is why using multiple locks is an effective way to secure a safe.

What happens if one of the locks malfunctions or is damaged?

If one of the locks malfunctions or is damaged, the other locks will still remain functional and keep the safe secure. It is important to regularly check and maintain all locks to ensure they are in good working condition.

Back
Top