Foundations · Number theory

The division algorithm

Division with remainder is the basis of integer arithmetic, and it works the same way for negative numbers.