Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.16 $; site ada-uts.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!qantel!lll-crg!gymble!umcp-cs!seismo!harvard!bbnccv!ada-uts!wayne From: wayne@ada-uts.UUCP Newsgroups: net.puzzle Subject: Re: here's my infinite random-number gen Message-ID: <11900002@ada-uts.UUCP> Date: Thu, 5-Dec-85 09:35:00 EST Article-I.D.: ada-uts.11900002 Posted: Thu Dec 5 09:35:00 1985 Date-Received: Tue, 10-Dec-85 06:18:13 EST References: <2558@sunybcs.UUCP> Lines: 26 Nf-ID: #R:sunybcs:-255800:ada-uts:11900002:000:878 Nf-From: ada-uts!wayne Dec 5 09:35:00 1985 ***** ada-uts:net.puzzle / sunybcs!colonel / 9:39 pm Nov 30, 1985 ["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 ----------