wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

There are n locks and n matching keys. If all the locks and keys are to be perfectly matched, find the maximum number of trials required to open a lock.

A
None of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
n(n+1)2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
n(n+1)(n+2)6
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
n(n1)2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B n(n+1)2
The maximum number of trials needed for the first key is n. For the second key, it will be n1.

Now, for the r th key, the maximum number of trials needed is nr+1. Thus, the required answer is
n+(n1)++1=n(n+1)2

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Learning to Represent Organic Compounds
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon