f(x) = \(\left(x^6-2019x^5\right)-\left(x^5-2019x^4\right)+\left(x^4-2019x^3\right)-\left(x^3-2019x^2\right)+\left(x^2-2019x\right)-\left(x-2019\right)+1\)
= \(x^5\left(x-2019\right)-x^4\left(x-2019\right)+x^3\left(x-2019\right)-x^2\left(x-2019\right)+x\left(x-2019\right)-\left(x-2019\right)+1\)
Thay x = 2019 vào f(x), ta có:
f(2019) = 0 + 0 + 0 + 0 + 0 +0 + 1 = 1