\(ab-ac+bc-c^2=-1\)
<=> \(a\left(b-c\right)+c\left(b-c\right)=-1\)
<=> \(\left(a+c\right)\left(b-c\right)=-1\)
Mà \(a,b,c\in Z\Rightarrow\left\{{}\begin{matrix}a+c\in Z\\b-c\in Z\end{matrix}\right.\)
- Nếu \(\left\{{}\begin{matrix}a+c=1\\b-c=-1\end{matrix}\right.\) => a + b = 0
- Nếu \(\left\{{}\begin{matrix}a+c=-1\\b-c=1\end{matrix}\right.\) => a + b = 0
Vậy M = 0