Prerequisites: Divisibility, Division with remainder

Definition (congruence modulo )

Let , . We will say that and are congruent modulo if and give the same remainder when divided by . The notation is

Theorem (basic congruence properties)

\begin{cases} a_{1}\equiv a_{2} ~(\operatorname{mod} m) \ b_{1}\equiv b_{2} ~(\operatorname{mod} m) \end{cases} \implies a_{1}+b_{1} \equiv a_{2}+b_{2} ~(\operatorname{mod} m)

\begin{cases} a_{1}\equiv a_{2} ~(\operatorname{mod} m) \ b_{1}\equiv b_{2} ~(\operatorname{mod} m) \end{cases} \implies a_{1}b_{1} \equiv a_{2}b_{2} ~(\operatorname{mod} m)

Exercise

Prove property (2) by explicitly dividing by with remainder and using the definition of congruences itself. Apply it to specific examples to get a better understanding.

Therefore, .

Exercise

Prove property (3) using the property (1) translation to divisibility and properties of divisibility.