Let $R$ be a relation on $\mathbb{Z}$ defined by $$ R = \{ (x,y) \in \mathbb{Z} \times \mathbb{Z} : 4 \mid (5x+3y)\}.$$ Show that $R$ is an equivalence relation.
I'm having a bit of trouble with this exercise in my book and I am trying to study. Can anyone give guidance for this? I know we have to show reflexivity, symmetry, and transitivity, but I don't think what I have on my paper is completely right. I would appreciate other people's opinions on what the solution should be.
This should be easily verified if we realize that $$4|(5x+3y) \quad \Longleftrightarrow \quad 5x+3y \equiv 0 \pmod 4 \quad \Longleftrightarrow \quad x \equiv y \pmod 4.$$