NAME

Math::Primality::AKS - Check for primality using the AKS (Agrawal-Kayal-Saxena) algorithm

VERSION

version 0.08

SYNOPSIS

use Math::Primality::AKS;

my $n = 123;
print 'Prime!' if is_aks_prime($n);

DESCRIPTION

NAME

Math::Primality::AKS - Check for primes with AKS

EXPORT

FUNCTIONS

is_aks_prime($n)

Returns 1 if $n is an AKS prime, 0 if it is not.

AUTHORS

Bob Kuo, <bobjkuo at gmail.com> Jonathan "Duke" Leto <jonathan@leto.net>

BUGS

Please report any bugs or feature requests to bug-math-primality-aks at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Math::Primality::AKS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

THANKS

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Math::Primality::AKS

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2009-2010 Bob Kuo, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Jonathan "Duke" Leto <jonathan@leto.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Leto Labs LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.