Answer: 0.9995
Step-by-step explanation:
Number of digits to make any code (0 to 9) = 10
If repetition is allowed , then the total number of possible four digits pin codes that can be formed= [tex]10^4=10,000[/tex]
The number of ways to make for digit code without repetition of digits =
[tex]10\times9\times8\times7=5040[/tex]
The number of ways to make for digit codes having repetition =
[tex]10,000-5040=4960[/tex]
Probability that a person has pin code that has repetition:-
[tex]\dfrac{4960}{10,000}=0.496[/tex]
Let x be number of pin codes with repeating digits.
Using binomial probability distribution formula ,
If the PIN codes of seven people are selected at random, then the probability that at least one of them will have repeating digits:-
[tex]P(x\geq1)=1-(P(0))\\\\=1-(^{11}C_0(0.496)^0(1-0.496)^{11})[/tex]
[tex]=1-((0.496)^0(0.504)^{11})=0.999466989333\approx0.9995[/tex]
Hence, the probability that at least one of them will have repeating digits = 0.9995