\(\Leftrightarrow x\left(y+1\right)=y+16\Rightarrow x=\dfrac{y+16}{y+1}=1+\dfrac{15}{y+1}\left(y\ne-1\right)\)
Để x nguyên thì y+1 là ước của 15
\(\Rightarrow y+1=\left\{-15;-5;-3;-1;1;3;5;15\right\}\)
\(\Rightarrow y=\left\{-16;-6;-4;-2;0;2;4;14\right\}\)
\(\Rightarrow x=\left\{0;-2;-4;-14;16;6;4;2\right\}\)