I'm having a tough time with understanding binary relations and need some help on the following task.
Let $\sim$ be a relation on $\mathbb{N}$ defined by $x\sim y$ if $x + y\in\{2n:n\in\mathbb{N}\}$. What properties does $\sim$ have?
My work so far:
It is reflexive since $\forall x$ we have that $x\sim x$ gives us $ x+x=2x\in\{2n|n\in\mathbb{N}\}$. It is symmetric since $\forall x, y$ we have that $x\sim y$ and $y\sim x$ gives us $x+y\in\{2n|n\in\mathbb{N}\}\implies y + x\in\{2n|n\in\mathbb{N}\}$. It is also transitive since if $x\sim y$ and $y\sim z$ then $x\sim z$ will give us $x+y\in\{2n|n\in\mathbb{N}\}$ and $y+z\in\{2n|n\in\mathbb{N}\}\implies x+z\in\{2n|n\in\mathbb{N}\}$.
Did I get this right, or am I completely missing the subject? If I got it wrong, please break it down for me, point me to places where I can fill in the gaps.
Thanks in advance.