I’ve heard of this ‘problem’ numerous times before, as I’m sure many others have too. Nonetheless, everytime I do hear it, it fascinates me.

The birthday problem (or paradox, as it’s often referred), looks at the probability of two or more people from a randomly chosen set of people sharing a birthday.

In a group of at least 23 randomly chosen people, there is more than 50% probability that some pair of them will both have been born on the same day. For 57 or more people, the probability is more than 99%, and it reaches 100% when the number of people reaches 367[…]. The mathematics behind this problem leads to a well-known cryptographic attack called the birthday attack.