Determine all $f:\Bbb Z \to \Bbb Z$ st $$f(x^3+y^3+z^3)=f(x)^3+f(y)^3+f(z)^3$$ for all $x,y,z\in\Bbb Z$.
Source : Vietnamese TST 2005
I'm sure that the only solutions are the zero function, the identity, and the negative of the identity. First, when $x=y=z=0$ we have $f(0)=3f(0)^3$ so $f(0)=0$ is the only integer solution. Next if $y=-x$ and $z=0$ then $f(-x)=-f(x)$ so $f$ is odd. Then $x=y=1$ and $z=-1$ give $f(1)^3=f(1)$ so $f(1)=0,1,-1$.
Since $f$ is a soln iff $-f$ is, we can take $f(1)=0,1$. Then $f(2)=f(1^3+1^3+0^3)=0,2$. Then $f(3)=f(1^3+1^3+1^3)=0,3$. Also $f(4^3-3^3-3^3)=f(10)=f(1^3+1^3+2^3)$, so $f(4)=0,4$. Then $f(5^3-4^3-4^3)=f(-3)$ so $f(5)=0,5$. Then $f(6)=f(2^3-1^3-1^3)=0,6$. Then, $f(7)=f(2^3-1^3+0^3)=0,7$. Then $f(8)=f(2^3+0^3+0^3)=0,8$. Then $f(9)=f(2^3+1^3+0^3)=0,9$ and $f(10)=f(2^3+1^3+1^3)=0,10$. Etc...
There should be a smart way to make induction, but I haven't found that. May be a nice identity. This is the closest to the claim that $n^3$ is the sum of five cubes of integers with absolute values $<|n|$: $$n^3=6^3+(n-2)^3+(n-3)^3-(n-6)^3-(n-11)^3+(n-12)^3.$$ At least the identity above gives me $f(11)=0,11$ and $f(12)=0,12$.
As requested I'm posting the above comment as an answer here.
In order to show that every $n\geq 8$ can be written as sum of five cubes with absolute value less than $n$: