__/\\\\\\\\\\\\\\\___________________________________________________________________________________________________________________/\\\\\_______________________________
_\///////\\\/////__________________________________________________________________________________________________________________/\\\///\\\__________/\\\_______________
_______\/\\\___________________________________________/\\\_____/\\\________________________/\\\__/\\\___________________________/\\\/__\///\\\_______\///________________
_______\/\\\___________/\\\\\\\\_____/\\\\\__/\\\\\___\///___/\\\\\\\\\\\__/\\\\\\\\\______\//\\\/\\\______/\\\\\_______________/\\\______\//\\\_______/\\\_____/\\\\\____
_______\/\\\_________/\\\/////\\\__/\\\///\\\\\///\\\__/\\\_\////\\\////__\////////\\\______\//\\\\\_____/\\\///\\\____________\/\\\_______\/\\\______\/\\\___/\\\///\\\__
_______\/\\\________/\\\\\\\\\\\__\/\\\_\//\\\__\/\\\_\/\\\____\/\\\________/\\\\\\\\\\______\//\\\_____/\\\__\//\\\___________\//\\\______/\\\_______\/\\\__/\\\__\//\\\_
_______\/\\\_______\//\\///////___\/\\\__\/\\\__\/\\\_\/\\\____\/\\\_/\\___/\\\/////\\\___/\\_/\\\_____\//\\\__/\\\_____________\///\\\__/\\\_____/\\_\/\\\_\//\\\__/\\\__
_______\/\\\________\//\\\\\\\\\\_\/\\\__\/\\\__\/\\\_\/\\\____\//\\\\\___\//\\\\\\\\/\\_\//\\\\/_______\///\\\\\/________________\///\\\\\/_____\//\\\\\\___\///\\\\\/___
_______\///__________\//////////__\///___\///___\///__\///______\/////_____\////////\//___\////___________\/////____________________\/////________\//////______\/////_____
Let `n in ZZ`. Define a relation on `ZZ` by $$ a \sim_n b \iff \exists k \in \mathbb{Z} \text{ s.t. } b -a = kn $$
We call the set `ZZ // sim_n` the integers modulo `n` and it is denoted `ZZ // nZZ`. We can turn this into a group by adding a binary operation.
We can define the additive binary operation on `ZZ // nZZ` as follows, `forall a,b in ZZ // nZZ` $$ \bar{a} + \bar{b} := \overline{a+b} $$
We can define the multiplicative binary operation on `ZZ // nZZ` as follows, `forall a,b in ZZ // nZZ` $$ \bar{a} \cdot \bar{b} := \overline{a \cdot b} $$