Task 696
Task 696: development task in emrekuruu/math-openenv, an RL environment on the Hugging Face Hub. Find all integer values of $a$ so that the polynomial \ x^3 + 3x^2 + ax + 7 = 0\ has at least one integer root. Enter all possible values of $a,$ separated by commas.
The task
Find all integer values of $a$ so that the polynomial \[x^3 + 3x^2 + ax + 7 = 0\]has at least one integer root. Enter all possible values of $a,$ separated by commas.