Problem

Source: 2012 China TST- Quiz 1 - Day 2 -P6

Tags: function, group theory, abstract algebra, floor function, induction, algebra proposed, algebra



$n$ being a given integer, find all functions $f\colon \mathbb{Z} \to \mathbb{Z}$, such that for all integers $x,y$ we have $f\left( {x + y + f(y)} \right) = f(x) + ny$.