HF RL Explorer

construct/rlve polynomial integer roots

construct/rlve polynomial integer roots: a task in MathConstructOptimize-Envs-harbor (Harbor dataset). The degree-8 polynomial P(x) = (1474560) x^0 + (-1216512) x^1 + (304640) x^2 + (4416) x^3 + (-13056) x^4 + (1572) x^5 + (60) x^6 + (-21) x^7 + (1) x^8 can be written as (x - a 1)(x - a 2)...(x -…

The task

The degree-8 polynomial P(x) = (1474560)*x^0 + (-1216512)*x^1 + (304640)*x^2 + (4416)*x^3 + (-13056)*x^4 + (1572)*x^5 + (60)*x^6 + (-21)*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.

Part of amphora/MathConstructOptimize-Envs-harbor.