JamesAC said:****
What a remarkable coincidence, yours is the same as Twentyinch's
JamesAC said:****
How can one, four-digit number be more random than another?
bonj said:In the same way that the numbers drawn out of the lottery machine using balls that are spun round in a drum for about a minute or more are a lot more random than the ones drawn by a computer. On a lesser degree, the numbers drawn by the ERNIE machine for premium bonds are a lot more random than if you used the RAND() function in an Excel spreadsheet on your desktop PC, because although ERNIE is still a computer, its software is a lot more advanced in that it makes use of advanced cryptographic algorithms (and probably also ASICs) to achieve a higher degree of randomness.
If you choose a number in your head, it's going to be a lot less random than one chosen by a computer that bears no relation at all to you. For example, your birthday is very unrandom.
Randomness is a subject that I know a great deal about and one that you probably shouldn't really question me on.
Does that RAND() still makes use of the internal clock to get a number seed? I assume so..a lot more random than if you used the RAND() function in an Excel spreadsheet on your desktop PC
So you've given your ideas about how random number selection can vary. Thanks. Now perhaps you could answer my question.
How is 3065 more or less random than 8692?
bonj said:Randomness is a subject that I know a great deal about and one that you probably shouldn't really question me on.
bonj said:They're both infinitely, equally, random without context - but as soon as you...blah, blah, blah
rich p said:Surely if all the numbers are randomly chosen independently of the previous or subsequent choices then any method is as random as any other. ie Random
Yes, I believe so. I believe all non-cryptographically-strong functions in windows (of which the RAND() in Excel is a perfect example of) all basically use the same low-level function, which basically just uses a list - but the seed (the time of day) tells it where in the list to start. The list being sufficiently long introduces a good enough level of unpredictability (randomness) for most applications such as games, etc.Canrider said:Does that RAND() still makes use of the internal clock to get a number seed? I assume so..
I think he would probably get on fairly well with User.Canrider said:Found this fun quote which I'll use to lightly disagree with you:
"One of us recalls(...)being told by his computer center’s programming consultant that he had misused the random number generator: “We guarantee that each number is random individually, but we don’t guarantee that more than one of them is random.” Figure that out. —Press, William H., et al. (1992)"
Correct.Canrider said:If I were to go home, fire up Excel, generate a single random number, and use that instead of the pregenerated PIN the bank gave me, I would presume that that would be equally 'random' provided no information on how, where and when I generated it is retained.
No - because someone may think "well he's not going to be stupid enough to use his own birthday, is he - I'll try the birthday of one of his staff up the hall" ...Canrider said:In other words, '1973' is not a particularly good PIN for myself, as it's my year of birth, but it would be perfectly acceptable random-wise for my boss down the hall who has no birthdate connection with that particular year
Canrider said:but if I got the number '1958' out of Excel, that would be a sufficiently random PIN for myself, for the same (role reversed) reason. No?
Canrider said:Hmm, wouldn't that argue in favour of changing your PIN under the following circumstance:
The bank (presumably) allocates random PINs sequentially as each account number is activated. From that, if you were going to go through each account and try and guess the PIN, you'd stand a better chance of doing so heuristically if everyone kept their assigned PIN, since there would be a single algorithm generating them?