Let $n,m \in \mathbb N$. Let further $k \in \mathbb N_0$ be such that $km \leq n <(k+ 1)m$.
We define the modulo operation $n \pmod{m}$ to be $n \pmod{m}:=n−km$.
Now define for a fixed $m \in \mathbb N$ define $l \sim j$ if $l \pmod{m}=j \pmod{m}$.
Show that this defines an equivalence relation on $\mathbb N$.
I'm trying to solve this task ,but I'm not sure if this is all what I need to show
my answer :
to show that there is an Equivalence relation we should show three things:
(1) a ~ a (reflexive property).
a= l mode m. => l mod m = l mod m.(reflexive )
(2) if a ~ b then b ~ a (symmetric property).
a= l mode m "and" b = j mode m => l mod m = j mode m "and" j mode m= l mod m .(Symmetry)
(3) if a ~ b and b ~ c then a ~ c (transitive property).
a= l mode m "and" b = j mode m "and" c = d mod m where d ∈ N
suppose l mod m = j mode m "and" j mode m = d mod m ==> l mod m = d mod m.(transitive)