Problem

Source:

Tags: function, absolute value, algebra proposed, algebra



Find all functions $f : \mathbb Z \to \mathbb Z$ such that \[f (n |m|) + f (n(|m| +2)) = 2f (n(|m| +1)) \qquad \forall m,n \in \mathbb Z.\] Note. $|x|$ denotes the absolute value of the integer $x.$