# Division algorithm

902pages on
this wiki

The division algorithm states that given an integer $x$ and a positive integer $y$, there are unique integers $q$ and $r$, with $0 \le r < y$, for which $x = q y + r$. For example, when a number is divided by 7, the remainder after division will be an integer between 0 and 6.