It performs the standard LL test.
Given an exponent X, it checks if 2^X - 1 is a mersenne prime number.
The code is not optimized.
Warning: No warranty, use at your own responsability.
Show More
Show Less
More Information about: Lucas Lehmer Test for Mersenne