This code is an implementation of several prp (pseudoprime) tests in C and GMP. The provided C file includes a main routine that will run all tests on a list of 25 numbers, starting with the one provided as input.
Updated 2013/07/03 to fix some minor issues with the mpz_extrastronglucas_prp function.
License
GNU Library or Lesser General Public License version 3.0 (LGPLv3)Follow mpz_prp
Other Useful Business Software
Build Agents and Models on One Platform
Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Rate This Project
Login To Rate This Project
User Reviews
-
Mpzprp works great.