Definition. Modular integers [01D2]

For a positive integer m, the integers modulo m consist of the set \mathbb {Z}_m \coloneqq {\mathopen {}\left \{0,\ldots ,m-1\right \}\mathclose {}} with the modular +_m and multiplication \cdot _m defined as follows, using the modular normal forms of naturals:

\begin {aligned} k +_m l &= [k + l]_m &&= \operatorname {rem}{\mathopen {}\left (k+l,m\right )\mathclose {}} \\ k\cdot _m l &= [k+l]_m &&= \operatorname {rem}{\mathopen {}\left (k\cdot l, m\right )\mathclose {}} \end {aligned}

In other words, for all k,l:\mathbb {Z}_m, k+_m l\quad \text {and}\quad k\cdot _m l are the unique modular integers in \mathbb {Z}_m such that \begin {aligned} k+_m l &\equiv k+ l &\mod m,\\ k\cdot _m l &\equiv k \cdot l &\mod m\text {.} \end {aligned}