laziness, impatience, and hubris | |
PerlMonks |
Re: Number functions I have lying aroundby aaron_baugher (Curate) |
on Mar 31, 2015 at 22:11 UTC ( [id://1122069]=note: print w/replies, xml ) | Need Help?? |
One small note on the tests for non-primes: any number divisible by 9 is also divisible by 3, so your test for divisibility by 9 will never be true. Aaron B.
In Section
Cool Uses for Perl
|
|