If there are more than 23 people in the room, the chance of two of them sharing a birthday is more than 50%.
Honestly.
This doesn't seem possible, but it is. It's an example of something called a paradox.
There are instructions for coding it:
> Birthday paradox programming instructions
There's a second linear search program to try:
Highest Common Factor algorithm
> Second linear search programming instructions