In the set $\mathbb{Z}$ we describe the relation:
$a\mathrel{R}b \Leftrightarrow a\equiv b\pmod2 \text{ and } a\equiv b\pmod3$
Prove that $R$ is an equivalence relation. Describe $\overline{0}$ and how many different classes of equivalence relations exist?
I know that to prove that R is an equivalence relation we need to show that R has Reflexivity, symmetry and transitivity, but we have not done any examples in class and I am not very aware of how to prove it .
Just guidelines to help me understand are enough, no full solutions plese!
My solution on symmetry, tell me if it's correct:
$a\equiv bmodn$ : $\exists n \epsilon \mathbb{Z} : n \mid (a-b)$
$a\mathrel{R}b$ : $a\equiv bmod2$ and $a\equiv bmod3$
$b\mathrel{R}a$ : $b\equiv amod2$ and $b\equiv amod3$
$\exists 3 \epsilon Z : 3 \mid (a-b)$
$\exists 2 \epsilon Z : 2 \mid (a-b)$
$\exists 3 \epsilon Z : 3 \mid (b-a)$
$\exists 2 \epsilon Z : 2 \mid (b-a)$
let $a-b = k$
$b-a = -k$
$\exists (-1) (-1)(a-b) = (b-a)$