Hacker News new | past | comments | ask | show | jobs | submit login

What are the odds that it gave me the same birth date as my actual birth date? Month and day, but not year. That's quite the coincidence, though I suspect it's only something like 1:60.



1/365 I'd think. There are 365 days in a year and it has to match exactly one day. You might be interested in the Birthday Paradox though http://betterexplained.com/articles/understanding-the-birthd...


Birthdays are not uniformly distributed. http://www.panix.com/~murphy/bday.html


Yes, but the probability that it found the same month and day as iLoch's, depend on the uniformity and independence of the month/day generator, not the distribution of actual birthdays.


Yeah my guess was based on the birthday paradox. Though now I see that yes the software probably chose a random number between 1 and 365 so the birthday paradox wouldn't apply.


That would be 1:365.24

It would be 1 in 365, but leap years mess it up a bit.


Leap days are generated at the same frequency as regular days as far as I can tell. That simplifies things again to 1:366




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: