MASON-INTEREST-L Archives

February 2009

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Proportional Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
Date:
Tue, 3 Feb 2009 19:45:42 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
Miles Parker wrote:

> And correct me if I'm wrong, but there are some algorithms in which 
> using a prime number would be a bad idea. Anyway, it seems to me that 
> any decent random stream generator should be able to take an arbitrary 
> seed and produce a good result.

Primes etc. are really a figment of early linear congruential 
generators, for which non-prime parameters in the generator itself were 
famously bad choices (actually, not just non-prime but 
non-relatively-prime).  Knuth III is very interesting in that regard.

It's not the case for modern generators.

Sean

ATOM RSS1 RSS2