Problem

Source: Rioplatense Olympiad 2007 level 3 P4

Tags: functional equation, functional equation in Z, algebra



Find all functions $ f:Z\to Z$ with the following property: if $x+y+z=0$, then $f(x)+f(y)+f(z)=xyz.$