residuklasse
A residuklasse, in the context of modular arithmetic, is the residue class of an integer modulo a fixed positive integer n. Two integers a and b are in the same residuklasse modulo n if their difference a − b is divisible by n. The residuklasse of a is often denoted [a]n or a mod n, and consists of all integers congruent to a modulo n: [a]n = { a + kn : k ∈ Z }.
The set of all residuklassen modulo n forms the finite ring Z/nZ. There are exactly n distinct
Examples: modulo 5, the residuklassen are [0], [1], [2], [3], [4]. The class [2] includes ..., −3, 2,
Properties and applications: Z/nZ is a ring, and it is a field precisely when n is prime.