In terms of groups, the residue class is the coset of in the quotient group \mathbb{Z}/n\mathbb{Z}, a cyclic group [REF].
The set \mathbb{Z}/n\mathbb{Z} has a number of important mathematical properties that are foundational to various branches of mathematics.