Section 26
Modular arithmetic
Modular congruence
intermediateviz
Defines equality of remainders modulo n.
Modular operations
intermediateviz
Congruences are preserved under addition and multiplication.
Modular inverse
intermediateviz
The inverse exists exactly when a and n are coprime.
Bézout's identity
intermediate
Connects the greatest common divisor with integer linear combinations.
Chinese remainder theorem
advancedviz
Systems with pairwise coprime moduli have a unique solution modulo N.
Fermat's little theorem
advancedviz
Central result for modular arithmetic and cryptography.