Problem. Find all integers $x$, $y$, and $z$ that satisfy $$x^2+y^2+z^2=5(xy+yz+zx)\,.$$
Does the following parametrization give all solutions?: $$x=m^2+mn-5n^2\,,$$ $$y=-5m^2+9mn-3n^2\,,$$ $$z=-3m^2-3mn+n^2\,,$$ where $m,n$ are arbitrary integers. Also, all permutations of this, and all permutations with each one multiplied by $-1$, e.g. $$x=-m^2-mn+5n^2\,,$$ $$y=5m^2-9mn+3n^2\,,$$ $$z=3m^2+3mn-n^2\,,$$ etc.
Yes, all primitive solutions come from this, with the symmetries and negating all three entries at once. To get absolutely all, multiply these triples by any nonzero integer.
The matrix equation being solved by the computer, with a bound (9) on the matrix entries supplied by me, was $R^T G R = 196 H,$ where $$ G = \left( \begin{array}{rrr} 2 & -5 & -5 \\ -5 & 2 & -5 \\ -5 & -5 & 2 \end{array} \right) $$ and $$ H = \left( \begin{array}{rrr} 0 & 0 & -1 \\ 0 & 2 & 0 \\ -1 & 0 & 0 \end{array} \right) $$
The matrices are to be applied to the column vector $$ \left( \begin{array}{c} u^2 \\ uv \\ v^2 \end{array} \right) $$
which gives all primitive solution vectors $(x,y,z)$ (up to $\pm$) to $$ y^2 - zx = 0. $$ Put another way, all solutions come from these by multiplying by a nonzero integer.
Existence of an integer matrix of this type is guaranteed by Theorem I.9 on page 15 of PLESKEN; THAT IS, Automorphs of Ternary Quadratic Forms, by William Plesken, pages 5-30 in Ternary Quadratic Forms and Norms, (1982), edited by Olga Taussky. This is originally in pages 507-508 of Fricke and Klein (1897), which can be read online
I typed some extra characters at your matrix to make it easier to locate.
Note that there is an annoying complication here about the prime $7.$ It is possible, precisely when my $v \equiv 5 u \pmod 7,$ to have all three of my $x,y,z$ divisible by $7.$ However, and i am still hand-waving here, when that happens, we can divide through by $7$ and produce the result from a different $(u,v)$ pair. The point, really, is that all the binary quadratic forms used are equivalent to $u^2 + 3 uv - 3 v^2$ of discriminant $21.$ When you divide through by $7,$ you get right back to that.
Tuesday, 24 March: pleased I was able to fill in the blanks as far as the prime $7.$ If we have the triple divisible by $7,$ it means we can write (using the original $(m,n)$ letters, $$ n = 5m + 7 t, $$ because we have $n \equiv 5m \pmod 7.$ All three formulas in the original question become divisible by $7,$ and we divide that out to get $$ \frac{m^2 +mn-5n^2}{7} = -17 m^2 - 49 mt - 35 t^2, $$ $$ \frac{-5m^2 +9mn-3n^2}{7} = -5 m^2 - 21 mt - 21 t^2, $$ $$ \frac{-3m^2 -3mn +n^2}{7} = m^2 + 7 mt + 7 t^2. $$
Proceeding by hand from here would be a mess, but I did a computer search to find a simultaneous substitution that does the desired thing; the (integer invertible!!) change of variables $$ m = 3r-2s , \; \; \; \; t = -2r + s. $$ The results are gratifying: we get $$ \frac{m^2 +mn-5n^2}{7} = r^2 + rs - 5 s^2, $$ $$ \frac{-5m^2 +9mn-3n^2}{7} = -3 r^2 - 3rs + s^2, $$ $$ \frac{-3m^2 -3mn +n^2}{7} = -5r^2 + 9rs - 3 s^2. $$ Combine this with a permutation and we have it.
Final comment: the matrices I called $R$ provided by the first computer run have determinant $\pm 196.$ That is, they are singular in the field of $7$ elements, but also singular in the field of $2$ elements. This seems bad, but is not. The eigenvectors with eigenvalue $0$ in $\mathbb Z / 2 \mathbb Z$ are $(0,1,1), \; \; $ $(1,0,1), \; \; $ $(1,1,0). \; \; $ However, we are applying such an $R$ only to $(u^2, uv,v^2)$ with integers $u,v$ relatively prime (not both even). The possible such vectors are $(1,1,1), \; \; $ $(1,0,0), \; \; $ $(0,1,0), \; \; $ $(0,0,1). \; \; $ So, this is never a problem.