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
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
-
Mpzprp works great.