I'm having a problem with a question:
Consider integer $s$ and integers $x,y,z$ such that $$s = 5xy+5yz+5xz \quad\text{and}\quad s= 2x^{2} + 2y^{2} + 2z^{2}$$ Prove that $10s$ is a perfect square.
I'm pretty sure it has something in common with $$(x+y+z)^{2} = x^{2} + y^{2} + z^{2} + 2(xy+yz+xz)$$ e.g. if I somehow (prob. by writing $10s$ as $4s + 6s$ etc.) show $10s$ equals $4, 9$ or $16$ times $(x+y+z)^{2}$, then I'm done, yet I have no clue how to show this.
Another idea was to check modulo, and I found at least one of $x,y,z$ is divisible by $5$ and at least two of $x,y,z$ are even still don't know how to use it.
$100(x+y+z)^2=100\left(x^2\!+\!y^2\!+\!z^2\right)+200(xy\!+\!yz\!+\!xz)=$
$=50s+40s=90s\;.$
Since $\;3\mid90s\;,\;$ it results that $\;3\mid(x+y+z)\;,\;$ hence ,
$x+y+z=3w\;$ where $\;w\in\mathbb Z\;.$
Moreover,
$100(3w)^2=90s\;,\;$ consequently ,
$100w^2=10s\;,$
$10s=(10w)^2\;.$