Imagine 23 people in a room and ask whether any two share a birthday—not whether someone shares yours. The surprising part is that there is about a 50% chance of a match. It feels unlikely because 23 is small compared with 365, but there are 253 different pairs of people who could match.
How the example works
Assume birthdays are spread evenly across 365 days, and ignore leap years. The first person can have any birthday. For there to be no match, the second person must have a different birthday, the third must avoid the first two birthdays, and so on.
As the group grows, each new person has more birthdays to avoid. The chance that everyone has a different birthday is approximately:
365/365 × 364/365 × 363/365 × … × 343/365
For 23 people, that works out to about 49.3% with no shared birthdays. So the chance that at least two people share one is about 50.7%.
Why it seems counterintuitive
People often compare the group size with 365, as if someone needs to match a particular birthday. But the question allows any pair to match. With 23 people, there are 253 possible pairs, giving many opportunities for a shared birthday.