\(x^2+xy-2015x-2016y-2017=0\)
\(\Rightarrow\left(x^2+xy+x\right)-\left(2016x-2016y-2016\right)=1\)
\(\Rightarrow x.\left(x+y+1\right)-2016.\left(x+y+1\right)=1\)
\(\Rightarrow\left(x-2016\right).\left(x+y+1\right)=1\)
Xét TH1: \(x-2016=1\) và \(x+y+1=1\)
\(\Rightarrow x=......;y=.......\)
Xét TH2: \(x-2016=-1\) và \(x+y+1=-1\)
\(\Rightarrow x=......;y=.......\)