a version for everyone!
documentation
optimizations and code cleanup
is_prime(), next_prime(), prev_prime() and prime_count()
is_strong_lucas_pseudoprime() implemented
documentation and house keeping cleanups
is_pseudoprime() and is_strong_pseudoprime() implemented
To install Math::Primality, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::Primality
CPAN shell
perl -MCPAN -e shell install Math::Primality
For more information on module installation, please visit the detailed CPAN module installation guide.