This site is supported by donations to The OEIS Foundation.

# Remainder

The remainder in integer division is the number left over from ${\displaystyle a\div b}$ when ${\displaystyle b}$ does not divide ${\displaystyle a}$ evenly. For example, 42 ÷ 5 leaves a remainder of 2, since 5 × 8 = 40 and 42 – 40 = 2. When ${\displaystyle b}$ does divide ${\displaystyle a}$ evenly, the remainder is 0. See also: congruences.