The correct option is
B 1nTotal number of keys =n
Probability of success in first trial is 1n.
So, probability of failure in first trial is 1−1n=n−1n.
Now, if he failed in unlocking with first key, he tries with the second key.
So, total number of keys left =n−1
Probability of unlocking in 2nd trial is
=P(he fails in first trial)×P(he succeeds in second trial)
=n−1n1n−1
Probability of failure in 2nd trial is n−2n−1.
So, the probability that the person unlocks the lock at kth trial. It means that he fails in first (k−1) trials.
=P(he fails in k-1 trials)×P(he succeeds in k^{th} trial)
=[n−1n.n−2n−1.n−3n−2....n−(k−1)n−(k−2)]×[1n−(k−1)]
=1n