f(1)∈{−80,−990}.
Since f∈Z[x], we have that y−x∣f(y)−f(x), ∀x,y∈Z. Thus, 3∣∣f(3)−f(0)∣, and 4∣∣f(4)−f(0)∣. In the set {2,20,202,2022}, only 2 and 20 are congruent modulo 3, so {f(0),f(3)}={2,20}. Modulo 4, 20 has a different residue than the other three, so f(0)=20. We conclude that f(0)=2, f(3)=20, while f(4)=202 or f(4)=2022.
Let f(x)=ax2+bx+c. From c=f(0)=2 and 9a+3b+2=f(3)=20, we deduce that f(x)=ax2+(6−3a)x+2. Moreover f(1)=8−2a, so f∈Z[x] whenever a∈Z, due to
a=4f(4)−f(0)−3f(3)−f(0).
Case 1: f(4)=202. Then a=4202−2−320−2=4200−318=50−6=44 and f(1)=8−2a=8−88=−80.
Case 2: f(4)=2022. Then a=42022−2−320−2=42020−318=505−6=499 and f(1)=8−2a=8−998=−990.