\(ab+bc+ca=0\Rightarrow2ab+2bc+2ca=0\)
\(a+b+c=0\Rightarrow\left(a+b+c\right)^2=0\)
\(\Rightarrow a^2+b^2+c^2+2ab+2bc+2ca=0\)
Mà \(2ab+2bc+2ca=0\)
\(\Rightarrow a^2+b^2+c^2=0\)
Mà \(\hept{\begin{cases}a^2\ge0\\b^2\ge0\\c^2\ge0\end{cases}}\)
\(\Rightarrow a^2=b^2=c^2=0\)
\(\Rightarrow a=b=c=0\)
\(\Rightarrow P=1^{1945}+0^{1975}+\left(-1\right)^{2016}=2\)
Vậy ...
từ a+b+c = 0 => (a+b+c)2=0 => a2+b2+c2+2ab+2bc+2ac=0
từ ab+bc+ac = 0 => a2+b2+c2 =0
=> a=b=c=0
=>P= 3