A module which defines a few simple functions for working with prime numbers. Naturally these functions are available elsewhere; this module was written mainly for my own educational purposes.
Yoshua Wakeham
- Probabilistic Fermat testing
- Self-test routine