Problem

Source: Belarus - Iran Competition 2022

Tags: algebra, polynomial, number theory



Let $P(x)$ be a polynomial with rational coefficients such that $P(n)$ is integer for all integers $n$. Moreover: $gcd(P(1), \ldots , P(k), \ldots) = 1$. Prove that every integer $k$ can be represented in infinitely many ways of the form $\pm P(1) \pm P(2) \pm \ldots \pm P(m)$, for some positive integer $m$ and certain choices of $\pm$.