HF RL Explorer

Task 246

Task 246: test task in emrekuruu/math-openenv, an RL environment on the Hugging Face Hub. Let $P(x)$ be a polynomial such that \ P(P(x)) + P(x) = 6x\ for all real numbers $x.$ Find the sum of all possible values of $P(10).$

The task

Let $P(x)$ be a polynomial such that \[P(P(x)) + P(x) = 6x\]for all real numbers $x.$ Find the sum of all possible values of $P(10).$