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.
Available for small or large Perl jobs and *nix system administration; see my home node.
In reply to Re: Number functions I have lying around
by aaron_baugher
in thread Number functions I have lying around
by Lady_Aleena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |