Repeated Digit in a Random Code
Probability
Combinatorial Probability
Easy
Hint 1
It is easier to compute the complementary probability that all five digits are distinct.
Hint 2
Count the ways to pick five distinct digits in order, out of all codes.
Show worked solution
1. Count codes with all distinct digits
There are codes with no repeated digit.
2. Subtract from one
Divide by the total codes and take the complement.
Answer: 436/625
Related roles: Browse quant jobs