Re:Random Valid US Address
by iLoch on Monday September 07, 2015 @01:24AM
(#10180163)
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.
[ Parent
| on HN ]
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.