Ta có: x=2017
nên x+1=2018
Ta có: \(P=x^{15}-2018x^{14}+2018x^{13}-2018x^{12}+...+2018x^3-2018x^2+2018x-2018\)
\(=x^{15}-\left(x+1\right)\cdot x^{14}+\left(x+1\right)\cdot x^{13}-\left(x+1\right)\cdot x^{12}+...+\left(x+1\right)\cdot x^3-\left(x+1\right)\cdot x^2+\left(x+1\right)\cdot x-\left(x+1\right)\)
\(=x^{15}-x^{15}-x^{14}+x^{14}+x^{13}-x^{13}+...+x^3-x^3+x^2-x^2+x-x-1\)
=-1