good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Rotationally Prime Numbersby Anonymous Monk |
on Jan 31, 2002 at 19:36 UTC ( [id://142494]=note: print w/replies, xml ) | Need Help?? |
You should be able to get a fairly decent speed improvement by automatically throwing out any numbers containing a 0, 2, 4, 5, 6 or 8 as obviously these can't be rotationally prime. Hadley
In Section
Cool Uses for Perl
|
|