Problem

Source: USA January TST for the 56th IMO, Problem 1

Tags: functional equation, rational function, algebra, number theory, constructions



Let $f : \mathbb Q \to \mathbb Q$ be a function such that for any $x,y \in \mathbb Q$, the number $f(x+y)-f(x)-f(y)$ is an integer. Decide whether it follows that there exists a constant $c$ such that $f(x) - cx$ is an integer for every rational number $x$. Proposed by Victor Wang