Problem

Source: 2003 Singapore TST 2.3

Tags: algebra, functional equation, functional



Determine all functions $f : Z\to Z$, where $Z$ is the set of integers, such that $$f(m + f(f(n))) = -f(f(m + 1)) - n$$for all integers $m$ and $n$.