News for hackers. Stuff that matters.
Re:What has a 1 in a million chance? by jbstack on Monday January 08, 2024 @04:01AM (#38909645)
Definitely not this. That wouldn't be random at all. For example, after picking 999,999 numbers you would be able to predict the next number with certainty. What it means is that every time you select a number, every number in the range has an equal probability of being selected.
Re:What has a 1 in a million chance? by dtgriscom on Monday January 08, 2024 @04:35AM (#38909842)
Which means that there must be more state in the generator than is output as a random number; otherwise each time number X was produced then number Y would follow it. (Perhaps obvious, but I like stating the obvious.)
Re:What has a 1 in a million chance? by kortilla on Monday January 08, 2024 @03:46PM (#38917857)
No, each number has a 1 in a 1,000,000 chance each time the generator is used.