Congruence and Arithmetic.
Suppose \(a \equiv b \pmod{n}\) and \(c \equiv d \pmod{n}\text{.}\) Then the following hold:
\(a+c \equiv b+d \pmod{n}\text{.}\)
\(a-c \equiv b-d \pmod{n}\text{.}\)
\(ac \equiv bd \pmod{n}\text{.}\)
Suppose \(a \equiv b \pmod{n}\) and \(c \equiv d \pmod{n}\text{.}\) Then the following hold:
\(a+c \equiv b+d \pmod{n}\text{.}\)
\(a-c \equiv b-d \pmod{n}\text{.}\)
\(ac \equiv bd \pmod{n}\text{.}\)