News for hackers. Stuff that matters.
Re:A huge listserv. Each day, only one random person can wri... by dfc on Tuesday April 10, 2012 @02:57PM (#3823800)
A million people are signed up? How long do you have to wait on average to win a one in a million daily lottery.
Re:A huge listserv. Each day, only one random person can wri... by defen on Tuesday April 10, 2012 @05:16PM (#3824478)
Assuming people can "win" more than once and no one else signs up, the expected wait would be 1 million days.

Edit: Guess I need to explain the math since I've been downvoted.

Let X be the random variable representing the number of draws until you are the winner. The probability that X = k is (999999/1000000)^(k-1) * (1/1000000)

From the definition of expected value: E = Sum(n*P(X=n), n, 1, Infinity)

From here it's a simple matter of arithmetic to calculate E. Here's the Wolfram Alpha link since I don't feel like typing up math in this input box (shortened so as not to overflow the layout): http://bit.ly/HzRUUt

Re:A huge listserv. Each day, only one random person can wri... by rprospero on Tuesday April 10, 2012 @07:01PM (#3824931)
True, but the median wait time would be merely 693147 days, or around 1900 years.

1-(999999/1000000)(693147) = 0.5

Re:A huge listserv. Each day, only one random person can wri... by StavrosK on Tuesday April 10, 2012 @03:28PM (#3823941)
Half a million days?
Re:A huge listserv. Each day, only one random person can wri... by wildmXranat on Tuesday April 10, 2012 @04:41PM (#3824301)
I'm about 50/50 sure you're correct.
Re:A huge listserv. Each day, only one random person can wri... by shasta on Tuesday April 10, 2012 @06:32PM (#3824814)
Depends on how many times you register.
Re:A huge listserv. Each day, only one random person can wri... by ajuc on Tuesday April 10, 2012 @08:20PM (#3825228)
Depends on how many times everybody register :)