Birthday Coincidence
Probability
Birthday Problem
Medium
Hint 1
Compute the complementary probability that all 23 birthdays are distinct.
Hint 2
Multiply the sequential probabilities .
Show worked solution
1. Complement
It's easier to compute the probability all birthdays are distinct.
2. Sequential probability
Assign birthdays one at a time; the -th new person avoids all previous distinct birthdays with probability .
3. Final answer
Subtracting from 1 gives .
Answer: 1 - product from k=0 to 22 of (365-k)/365
Related roles: Browse quant jobs