Problem

Source: Ukraine TST for IMO 2018 P12

Tags: algebra, function, combinatorics



Let $n$ be a positive integer and $a_1,a_2,\dots,a_n$ be integers. Function $f: \mathbb{Z} \rightarrow \mathbb{R}$ is such that for all integers $k$ and $l$, $l \neq 0$, $$\sum_{i=1}^n f(k+a_il)=0.$$Prove that $f \equiv 0$.