This document discusses several number-theoretic algorithms including:
1. Primes and composites, common divisors and greatest common divisors (GCD), and Euclid's algorithm for computing GCDs.
2. Modular arithmetic and the Chinese Remainder Theorem for solving systems of congruences.
3. Powers of elements and modular exponentiation for efficiently computing ab (mod n).