A relation $M$ is defined on the set $\mathbb{Z}$ by “$(a,b)\in M$,if $a – b$ is divisible by $5$” for $a, b\in\mathbb{Z}$.
i. Examine if $M$ is an equivalence relation on $\mathbb{Z}$.
Not sure if this is the correct way to answer the question, but i gave it a go.
Reflexive: $a - a$ divided by $5$ is $0$, does that mean it is divisible by $5$ since I got $0$?
Symmetric: $a - b$ divided by $5$ and $b - a$ divided by $5$? $0 - 1$ divided by $5 = -0.2$ $1 - 0$ divided by $5 = 1$? I'm guessing it's right since it includes a negative integer?
Transitivity: $a - b$ divided by $5$, and $b - c$ divided by $5$ then $a - c$ divided by $5$?
How do I work out the answer for this type of question? Im not sure if I am doing it right like the way I've answered it.