HF RL Explorer

construct/rlve polynomial integer roots

construct/rlve polynomial integer roots: a task in MathConstructOptimize-Envs-harbor (Harbor dataset). The degree-5 polynomial P(x) = (900) x^0 + (135) x^1 + (-154) x^2 + (-24) x^3 + (6) x^4 + (1) x^5 can be written as (x - a 1)(x - a 2)...(x - a 5) with integers a 1, ..., a 5 (not necessarily…

The task

The degree-5 polynomial P(x) = (900)*x^0 + (135)*x^1 + (-154)*x^2 + (-24)*x^3 + (6)*x^4 + (1)*x^5 can be written as (x - a_1)(x - a_2)...(x - a_5) with integers a_1, ..., a_5 (not necessarily distinct). Find such integers.

Part of amphora/MathConstructOptimize-Envs-harbor.