Given the equivalence relation R on $\mathbb{Z}$
by $aRb$ iff $3\vert 5a^2+b^2$
Determine the distinct equivalence classes of R
$[0]=\left\{x \in \mathbb{Z}: xR0\right\}=\left\{x \in \mathbb{Z}:3|5x^2+0\right\}$ Would this only give $0$? $[1]=\left\{x \in \mathbb{Z}: xR1\right\}=\left\{x \in \mathbb{Z}:3|5x^2+1\right\}$ this doesn't seem to give me many elements either
Is this the right approach? I figured since this is equivalent to a mod $3$ function it would have $3$ distinct equivalence classes is this not generally right?
Hint $\ {\rm mod}\,\ 3\!:\,\ 0 \equiv b^2\!+5a^2\equiv b^2\!-a^2\equiv (b\!-\!a)(b\!+a\!)\iff \,b\equiv \pm a$
It is not clear what you mean by "since this is equivalent to a mod function it would have $3$ distinct equivalence classes "? Note that equivalence relations on $\{0,1,2\}$ are in bijection with its partitions, so there are some having less than $3$ classes, e.g. the partition $\{0\}\cup \{1,2\}\,$ has $2$ classes.