I'm a bit confused. Maybe i did not pay enough attention but... Does it stop the first simulation when there are _any_ 2 people with a same birthday, or when someone has _my_ birthday? I think the latter will take more people on average.
An analog of the birthday paradox that gets me all the time is what I think of as The Locker Room Paradox. This is where when I go into the locker room after working out and the guy who comes in behind me ends in the locker right next to mine. So there’s two of us in a big empty room awkwardly jostling away.
It's interesting how uniform the birthday distribution at the end looks. I'd expect more seasonality (e.g. more babies conceived in the cold, dark months).
Okay, that was about as clear as mud to me. Maybe I just need more coffee, but nothing about it led me to understand why there is a 50% chance with 23 people. Can someone else explain this?
The odds that someone else shares just your birthday out of 23 people sounds crazy still. It should be 182.5 to get to 50%, right?
I really like the fact that it's using the previous user birthdays. Unfortunately today is my birthday and I think a lot of people are entering today's date as their birthday, I got 6 matches... :)