If $f(x)=Ax^2+Bx+C$ and $2A,A+B,C$ are integers, prove that $f(x)$ is integer whenever $x$ is an integer.
I found a way to prove the reverse statement. That is, I can prove that if $f(x)$ is integer whenever $x$ is integer, $2A,A+B,C$ are integers, by finding $f(0),f(1)$ and $f(-1)$.
How can I prove the actual statement?
Is A is an integer, then B is an integer and the result is obvious. So suppose $A=\frac{1}{2}+a$ for some integer $a$, then $B=\frac{1}{2}+b$ for some integer $b$. But now $f(x)=ax^2+bx+C+\frac{1}{2}x(x+1)$ which must be an integer for $x$ an integer, because $x(x+1)$ is even.