Foundations · Number theory

Modular arithmetic

Modular arithmetic works with remainders, and it makes questions about huge numbers, like their last digits, easy to answer.