How can I determine if $x^2+y^2 = z$ has infinitely many rational solutions $(x,y)$ based on the value of $z\in \Bbb{Q}$.
I understand that $a^2+b^2=1$ has infinitely many rational solutions. As does $a^2+b^2=2$. However, $a^2+b^2=3$ has no rational solutions. When $z$ is an integer I know how to determine if it has rational solutions. However when $z$ is not an integer it is not clear when it has rational solutions.
For example, it is not immediately clear to me if the equation $$x^2+y^2 = \frac 43$$ has infinitely many rational solutions.