Perl: the Markov chain saw | |
PerlMonks |
Re: Prime Number Finderby elusion (Curate) |
on Feb 07, 2002 at 22:32 UTC ( [id://143983]=note: print w/replies, xml ) | Need Help?? |
Here's the code I've used for this in the past. I believe it's fairly efficent. If you're going to use it like in the root node in this thread, it's best to check only odd numbers, as suggested by ichimunki.
elusion : http://matt.diephouse.com
In Section
Cool Uses for Perl
|
|