Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site sunybcs.UUCP Path: utzoo!watmath!sunybcs!colonel From: colonel@sunybcs.UUCP (Col. G. L. Sicherman) Newsgroups: net.puzzle,net.math Subject: here's my infinite random-number generator Message-ID: <2558@sunybcs.UUCP> Date: Sat, 30-Nov-85 21:39:07 EST Article-I.D.: sunybcs.2558 Posted: Sat Nov 30 21:39:07 1985 Date-Received: Sun, 1-Dec-85 07:45:04 EST References: <1635@decwrl.UUCP> <787@mhuxt.UUCP> <321@mmm.UUCP> Organization: Save the Dodoes Foundation Lines: 23 Xref: watmath net.puzzle:1213 net.math:2579 ["Who dares to summon ETERNITY?"] > > Now he tells us that it's got to be uniformly distributed? If such > >a function exists, the probability of it generating a number between any > >two arbitrarily large, but finite limits is exactly 0! Why would > >anyone want a random number generator like that? > Not zero, since the random number generator will in fact come up with a > number. The chances are infinitesimal. The difference is admittedly > very subtle. I haven't been able to market this, so here, ABSOLUTELY FREE, is my generator! It's GUARANTEED to generate ALL positive integers with equal frequency, if you only run it long enough. int rand() { return 6; } -- Col. G. L. Sicherman UU: ...{rocksvax|decvax}!sunybcs!colonel CS: colonel@buffalo-cs BI: csdsicher@sunyabva