Birthdays are assumed to be uniformly distributed over 365 days. We want the smallest number of people n for which the probability that at least two people share a birthday is greater than 50%.
Move the slider to see how the probability changes as the group gets larger.
It is easier to compute the probability that all birthdays are different, then subtract from 1.