remainders
A remainder is the nonnegative value left over after performing division of one integer by another. If integers a and b satisfy b ≠ 0, there exist unique integers q and r such that a = bq + r and 0 ≤ r < |b|. Here q is the quotient and r is the remainder. For example, dividing 23 by 7 gives q = 3 and r = 2, since 23 = 7×3 + 2.
The remainder is defined by the division algorithm and is unique for a given pair (a, b).
Remainders have important applications in modular arithmetic. The remainder r obtained from dividing a by b
In algebra, remainders also appear in polynomial division: when a polynomial f(x) is divided by x −