modulo
Modulo refers to the operation of finding the remainder after division of one number by another. In the standard mathematical convention, for integers a and n with n > 0, a mod n is the unique remainder r such that a = qn + r for some integer q and 0 ≤ r < n. The value of a mod n is called the residue of a modulo n.
In algebra, modulo n is closely linked to the concept of congruence. Two integers a and b
Modulo arithmetic is closed under addition, subtraction, and multiplication. That is, (a + b) mod n = ((a
Common uses include solving problems in number theory, cryptography (such as RSA and elliptic-curve systems), calendar