I found system of equations on internet, I want to practice math and to solve it.
All $x$,$y$ and $z$ are integers.
$$\begin{cases} x+y+z=3 \\ x^3+y^3+z^3=3 \end{cases} $$
Should I start by watching all combinations that sum up to 3, please give me some hint to start.
Consider the identity $$x^3+y^3+z^3-3xyz=(x+y+z)(x^2+y^2+z^2-xy-yz-zx). $$ Then since $x+y+z=3=x^3+y^3+z^3 $, thus we need to solve $$1-xyz=x^2+y^2+z^2-xy-yz-zx .$$