\(\left(a+b+c\right)\left(\dfrac{1}{a}+\dfrac{1}{b}+\dfrac{1}{c}\right)=1\Rightarrow\left(a+b+c\right)\left(ab+ac+bc\right)-abc=0\Rightarrow\left(a+b\right)\left(ab+ac+bc\right)+abc+ac^2+bc^2-abc=0\Rightarrow\left(a+b\right)\left(ab+ac+bc\right)+c^2\left(a+b\right)=0\Rightarrow\left(a+b\right)\left(ab+ac+bc+c^2\right)=0\Rightarrow\left(a+b\right)\left(a+c\right)\left(b+c\right)=0\Rightarrow\left[{}\begin{matrix}a+b=0\\a+c=0\\b+c=0\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}a=-b\\c=-a\\b=-c\end{matrix}\right.\)TH1: nếu a=-b
P=(a2017+b2017)(b2018-c2018)=(-b2017+b2017)(b2018-c2018)=0
TH2: nếu b=-c
P=(a2017+b2017)(b2018-c2018)=(a2017+b2017)((-c)2018-c2018)=0
Còn một TH nữa thì bạn ghi thiếu đề rồi