Theorem: The division algorithm
Given integers \(a,b\in \mathbb{Z}\) with \(b\not =0\), there are unique integers \(q\) and \(r\) such that \(a = bq + r\) and \(0 \leq r < \mid\! b\!\mid\).
Terminology: \(a\) is the dividend, \(b\) is the divisor, \(q\) is the quotient and \(r\) is the remainder. Other notations for quotient and remainder are \(q = a\; \mathrm{div}\; b\) and \(r = a \bmod b\).