Modulus in modular arithmetic (source code)

= Modulus in modular arithmetic
{title2=$m$}

= Integer modulus
{synonym}

= Integer moduli
{synonym}

The positive <integer> $m$ in $a\equiv b\pmod m$ is the modulus. It specifies which differences are ignored: exactly the <integer> multiples of $m$. It is distinct from the <modulus of a complex number>, which measures magnitude.