\(=x^4-x+2019x^2+2019x+2019\)
\(=x\left(x^3-1\right)+2019\left(x^2+x+1\right)\)
\(=x\left(x-1\right)\left(x^2+x+1\right)+2019\left(x^2+x+1\right)\)
\(=\left(x^2-x\right)\left(x^2+x+1\right)+2019\left(x^2+x+1\right)\)
\(=\left(x^2-x+2019\right)\left(x^2+x+1\right)\)
\(x^4+2019x^2+2018x+2019\)
\(=\left(x^4-x\right)+\left(2019x^2+2019x+2019\right)\)
\(=x\left(x^3-1\right)+2019\left(x^2+x+1\right)\)
\(=x\left(x-1\right)\left(x^2+x+1\right)+2019\left(x^2+x+1\right)\)
\(=\left(x^2+x+1\right)\left[x\left(x-1\right)+2019\right]\)
\(=\left(x^2+x+1\right)\left(x^2-x+2019\right)\)
x4+2019x2+2018x+2019
=x4−x+2019x2+2019x+2019
=x(x3−1)+2019(x2+x+1)
=x(x−1)(x2+x+1)+2019(x2+x+1)
=(x2−x)(x2+x+1)+2019(x2+x+1)