I recently studied the Markoff equation : \begin{equation*} p^2 + q^2 + r^2 = 3pqr \end{equation*} And I think I've heard that there are solutions iff $k = 1$ or $3$ but I can't prove it. I manage to show that there are solutions of the form $(p,p,r)$ iif $k = 1$ or $3$ but that's not enough.
Any idea ?