THE DIVISION ALGORITHM

Let mm and nn be positive integers. There are non-negative integers qq and rr, where 0≤r<n0 \leq r < n, such that:

m=nq+rm = nq + r

The integer qq is the quotient obtained when mm is divided by nn, while rr is the remainder.