Various implementations of number-theoretic algorithms.