HF RL Explorer

Task 704

Task 704: development task in emrekuruu/math-openenv, an RL environment on the Hugging Face Hub. Find the remainder when the polynomial $x^{1000}$ is divided by the polynomial $(x^2 + 1)(x + 1).$

The task

Find the remainder when the polynomial $x^{1000}$ is divided by the polynomial $(x^2 + 1)(x + 1).$