**Navigation**

Topics | Register • News • History • How to • Sequences statistics • Template prototypes |

# PrimeKit

**PrimeKit** is a package of Mathematica implementations of all 112 algorithms discussed in the book *Prime Numbers: A Computational Perspective* (2001) by Richard Crandall and Carl Pomerance.

These algorithm sources are designed for pedagogical strength (the code is clear & tutorial, as opposed to heavily-optimized), but there is also an "Extras" folder containing some efficient number-theoretical C sources.

The 112 programs in Mathematica were created by various authors: student interns, professors, programming experts.