Modular arithmetic/Definition

Form of arithmetic dealing with integers in which all numbers having the same remainder when divided by a whole number are considered equivalent.