News for hackers. Stuff that matters.
Re:Are You 1 in 1,000,000? by rcavezza on Sunday August 22, 2010 @04:08PM (#1625169)
If the website gets over a million uniques a day, there will be a new winner every day.
Re:Are You 1 in 1,000,000? by DLWormwood on Sunday August 22, 2010 @04:29PM (#1625203)
Not necessarily. Just like the lottery, it is possible (maybe even likely) that having about a million hits in a day will have periods where nobody wins for a few days, or that a winner might happen two or three times in one day. I’ve forgotten my college statistics, but I believe there are permutation or combination equations that would explain this concept simply in symbolic terms.
Re:Are You 1 in 1,000,000? by shin_lao on Sunday August 22, 2010 @04:30PM (#1625205)
Depends.

Do you roll a random number from a generator until it matches the displayed number?

If yes, if you have 1,000,000 visitors per day, the probability of having a winner is around 63 %.

However, if your random number generator guarantees that each player gets a different number then yes, the probability of having a winner approaches 100% as you get closer to the millionth visitor.

Re:Are You 1 in 1,000,000? by dwine on Sunday August 22, 2010 @04:28PM (#1625199)
Actually not true. If the website gets a million unique visitors, there is about a 60% chance of someone winning.