\(\left(x-2016\right)^2\ge0\Rightarrow5-y^2\ge0\Rightarrow y^2\le5\Rightarrow y^2\in\left\{0,1,4\right\}\)
\(\Rightarrow5-y^2\in\left\{5,4,1\right\}\)Mà x,y là STN
\(\Rightarrow5-y^2=4\Rightarrow y^2=1\Rightarrow y=1\)
\(\Rightarrow\left(x-2016\right)^2=4\Rightarrow\orbr{\begin{cases}x-2016=2\\x-2016=-2\end{cases}\Rightarrow\orbr{\begin{cases}x=2018\\x=2014\end{cases}}}\)
Vậy ...