construct/rlve polynomial integer roots
construct/rlve polynomial integer roots: a task in MathConstructOptimize-Envs-harbor (Harbor dataset). The degree-8 polynomial P(x) = (12800) x^0 + (-9920) x^1 + (-10768) x^2 + (10188) x^3 + (-2193) x^4 + (-246) x^5 + (160) x^6 + (-22) x^7 + (1) x^8 can be written as (x - a 1)(x - a 2)...(x - a 8)…
The task
The degree-8 polynomial P(x) = (12800)*x^0 + (-9920)*x^1 + (-10768)*x^2 + (10188)*x^3 + (-2193)*x^4 + (-246)*x^5 + (160)*x^6 + (-22)*x^7 + (1)*x^8 can be written as (x - a_1)(x - a_2)...(x - a_8) with integers a_1, ..., a_8 (not necessarily distinct). Find such integers.