Problem

Source:

Tags: modular arithmetic, induction



Let $S$ be a set of integers such that there exist $a, b \in S$ with $\gcd(a, b)=\gcd(a-2,b-2)=1$, if $x,y\in S$, then $x^2 -y\in S$. Prove that $S=\mathbb{Z}$.