Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site godot.UUCP
Path: utzoo!watmath!clyde!burl!hou3c!hocda!houxm!houxz!vax135!floyd!whuxle!mit-eddie!godot!bruce
From: bruce@godot.UUCP (Bruce Nemnich)
Newsgroups: net.bugs.4bsd,net.lang.lisp
Subject: franz lisp (random) bug
Message-ID: <134@godot.UUCP>
Date: Wed, 13-Jun-84 22:03:40 EDT
Article-I.D.: godot.134
Posted: Wed Jun 13 22:03:40 1984
Date-Received: Thu, 14-Jun-84 07:14:00 EDT
Organization: Thinking Machines, Waltham, MA
Lines: 10

In the 4.2bsd franz (I don't know about others), (random) has the 
extremely non-random property of alternating even and odd numbers.

To repeat, (loop for i from 1 to 20. collecting (random 2)).

I am not an expert on random-number algorithms, so if anyone has a good
fix, please let me know.
-- 
--Bruce Nemnich, Thinking Machines Corporation, Waltham, MA
  {decvax!cca,ihnp4!mit-eddie,allegra!ias}!godot!bruce, BJN@MIT-MC.ARPA