How many people before someone shares your birthday?
With 23 random people in a room, the chance that some two of them share a birthday is just over one half. That is the birthday paradox.
How many other people must be in the room for the chance that at least one of them shares your birthday to exceed one half? Ignore leap years, and assume birthdays are uniform.
Then explain, in one sentence, why this number is so much larger than 23.
Show a hint
Compute the probability that nobody matches you, with n people, and find the n where it drops below one half.
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Where to stand in the birthday lineThe birthday paradoxThe gambler's two betsWill anyone else draw your raffle number?Does anyone else share your four-digit PIN?
All questions →