Related concept: Modular Arithmetic. This is a concept heavily used in Cryptography.
This is the idea of modulus on steroids. Often used in Relations. Useful to know the Residues Modulo

Exact Definition:

Notation:

Pronounced: “a is congruent to b modulo n”

Informally: If 2 numbers have the same remainder, , when divided by a number .

Formally: If there exists a such that:

Example alternative: Assuming the relation is defined as .
Then:

Properties: Reflexive, Symmetric and Transitive

Computing Modulo N:

Important Useful Note: