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

  • Context: Undergrad 
  • Thread starter Thread starter shravan
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on a combinatorial problem involving six generals who need to lock a safe using multiple locks. To ensure that the safe can only be opened when at least four generals are present, a total of 20 distinct locks and keys are required. Each general must possess at least three keys, with the distribution of keys carefully arranged so that any combination of three generals will lack the key to at least one lock. This setup guarantees that the safe remains secure unless the required number of generals is present.

PREREQUISITES
  • Combinatorial mathematics
  • Understanding of key distribution systems
  • Basic principles of security and access control
  • Familiarity with the concept of combinations (nCr)
NEXT STEPS
  • Study combinatorial optimization techniques
  • Explore advanced access control mechanisms
  • Learn about cryptographic key distribution methods
  • Investigate real-world applications of secure multi-party computation
USEFUL FOR

Mathematicians, security professionals, and anyone interested in combinatorial problem-solving and secure access control systems will benefit from this discussion.

shravan
Messages
16
Reaction score
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
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.
 
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,
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 44 ·
2
Replies
44
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K