Date: Fri, 7 Jan 2000 11:20:54 -0800
Reply-To: David Cassell <cassell@MERCURY.COR.EPA.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David Cassell <cassell@MERCURY.COR.EPA.GOV>
Organization: OAO Corp.
Subject: Re: Testing if prime
Content-Type: text/plain; charset=us-ascii
Paul Kairis wrote:
>
> Here's sample Perl code that generates primes. Hope it helps.
I didn't put Paul up to this! I swear! :-)
[snip of Sieve of Eratosthenes in perl]
Nice. But not the fastest algorithm available...
David
--
David Cassell, OAO cassell@mail.cor.epa.gov
Senior Computing Specialist
mathematical statistician