Even three-digit codes with a repeated digit
Question
A keypad lock uses a string of three digits (leading zeros allowed). The code is known to be even, none of its digits is a , and at least one digit occurs more than once. How many codes are consistent with this information?
Short answer
100. Without the repeat condition: the last digit is one of and the other two are any of the nine digits other than , giving . Codes with three distinct digits number , so codes repeat a digit.
Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.
See the hint and the full worked solution in the question bank (free account).
Open the worked solutionLessons behind this question
Start with a free lesson: Probability Fundamentals is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.
Read it free