Question 682 marksHard
A -digit code for a door lock is set at random, each place being any digit from to (repeats allowed, and a code may begin with ). Find the probability that the code contains at least one or has some digit repeated.
Confirming your payment
Competency-Based Questions (CBQ) · Question 68 of 80
A -digit code for a door lock is set at random, each place being any digit from to (repeats allowed, and a code may begin with ). Find the probability that the code contains at least one or has some digit repeated.
Total. Each of the places has choices: equally likely codes.
Complement. The code fails both conditions when it has no and all its digits are different. Then the digits come from the digits other than , without repeats:
Answer.