remainder
A remainder is the amount left over after dividing one number by another. For integers a and b with 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. This form is known as Euclidean division.
Remainders are used to measure divisibility and to perform modular arithmetic. In modular arithmetic, r is
In the division of polynomials, dividing f(x) by a nonzero polynomial d(x) yields f(x) = q(x)d(x) + r(x),
In computing and programming, the remainder is obtained by the modulo operation, often denoted a mod b.
Example: 17 divided by 5 gives a quotient of 3 and a remainder of 2, since 17
A related concept is the remainder theorem in algebra: the remainder of f(x) divided by x − c