Modular arithmetic

Modular arithmetic treats integers as equivalent when they have the same remainder after division by a fixed positive integer called the modulus. Its operations use these equivalence classes, so calculations wrap around after reaching the modulus.

Connect