Prove that if $f(x) = Ax^2 + Bx + C$ is an integer whenever $x$ is an integer, then $2A$, $A+B$ and $C$ are also integers. 
Prove that if $f(x) = Ax^2 + Bx + C$ is an integer whenever $x$ is an integer, then $2A$, $A+B$ and $C$ are also integers.

I've tried a lot to do it, but can't get it exactly right.

Hint $\displaystyle\,\ f(x) = ax^2\!+bc+c\, =\,  2a\, \dfrac{x(x\!-\!1)}2 +  (a\!+\!b)\, x + c \,=\,  2a {x \choose 2} + (a\!+\!b) {x\choose 1} + c{x\choose 0}$
Lemma $\ $ If $\displaystyle\ f(x)\, =\,  c_2 {x \choose 2} + c_1 {x \choose 1} + c_0{x\choose 0}\ $ then $\ f(0),f(1),f(2)\in\Bbb Z\,\Rightarrow\, c_i\in \Bbb Z$
Proof $\ f(0) = c_0\in \Bbb Z\,$ so $\, f(1) = c_0\!+\!c_1\in\Bbb Z\Rightarrow c_1\in\Bbb Z\,$ so $\, f(2) = c_0\!+\!2c_1\! +\! c_2\in\Bbb Z\,\Rightarrow\,c_2\in\Bbb Z$
Remark $\ $ The analogous result (and its converse) is true for arbitrary degree, which leads to a famous result of Polya and Ostrowski on integer-valued polynomials
