In a room of n people, what is the smallest n such that the probability that at least two people share a birthday exceeds 50%? (Assume 365 equally likely birthdays.)
Enter an integer
Show solution
The probability that all n birthdays are distinct is 365365⋅365364⋅365363⋯365365−n+1. For n=22: P(all distinct)≈0.5243>0.5. For n=23: P(all distinct)≈0.4927<0.5. So P(match)>0.5 first at n=23.