Elementary Number Theory
Introduction We have previously covered a short course on divisibility. In this chapter, we will generally focus on congruences. Loosely, congruence is a short notation that is extremely useful in solving various problems in number theory. Precisely, it is much more than just a notation.\\ Without further ado, let's get straight to the punchline. Congruence Notation If $a, b, m \in \mathbb{Z}$ such that $m \mid a - b$, then we write this as $a \equiv b \pmod{m}$. This is really all there is to it! But with this notation, we will prove several interesting results in an easy way. This notation or relation $\equiv$ has many similarities with the "$=$" sign. Some of the similar properties are enumerated below: If $a \equiv b \pmod{m}$ and $b \equiv c \pmod{m}$, then $a \equiv c \pmod{m}$. If $a \equiv b \pmod{m}$, then this is equivalent to $b \equiv a \pmod{m}$ and $a - b \equiv 0 \pmod{m}$. If $a \equiv b \pmod{m}$ and $c \equiv d \pmod{m}$, then $a + c \equiv b...