Hình như bạn ghi sai đề rồi
Mình sẽ làm bài của đề đúng
\(x^2+xy-2015x-2016y-2017=0\Leftrightarrow x^2+xy+x-2016x-2016y-2016=1\Leftrightarrow x\left(x+y+1\right)-2016\left(x+y+1\right)=1\Leftrightarrow\left(x+y+1\right)\left(x-2016\right)=1\Leftrightarrow\)\(\left[{}\begin{matrix}\left\{{}\begin{matrix}x+y+1=1\\x-2016=1\end{matrix}\right.\\\left\{{}\begin{matrix}x+y+1=-1\\x-2016=-1\end{matrix}\right.\end{matrix}\right.\)\(\Leftrightarrow\)\(\left[{}\begin{matrix}\left\{{}\begin{matrix}x=2017\\y=-2017\end{matrix}\right.\\\left\{{}\begin{matrix}x=2015\\y=-2017\end{matrix}\right.\end{matrix}\right.\)
Vậy (x;y)={(2017;-2017);(2015;-2017)}