Contents / Number Theory / Modular Arithmetic

Chapter 2

Modular Arithmetic

Congruence as an equivalence relation compatible with the arithmetic; Z/nZ as a ring, a field exactly for prime n; inverses via the extended Euclidean algorithm and the full linear-congruence theorem; fast modular exponentiation; the Chinese Remainder Theorem with its explicit formula and the non-coprime case; quadratic residues, Euler's criterion, the Legendre symbol and when -1 is a square; and the Jacobi symbol with Solovay-Strassen.

About the practice questions. They check that you can carry out this chapter's computations correctly, and each one is graded on a single answer. They are not proof exercises: working through them confirms the mechanics, not that you could prove the results yourself. For that, re-read the statements above and try to reconstruct their proofs with the page closed.