Q.
A person has a bunch of n keys, only one of which can open a lock. The person tries the keys at random rejecting those which do not open the lock. The probability that the lock is opened at the kth (≤n) trial is
P (lock is opened at kth trial) =P (lock is not opened at first (k−1) trials) ×P (lock is opened at kth trial) =(1−n1)(1−n−11)(1−n−21)…(1−n−(k−2)1)(n−(k−1)1) =(nn−1)(n−1n−2)(n−2n−3)…(n−k+2n−k+1)(n−k+11)=n1