Task 701
Task 701: development task in emrekuruu/math-openenv, an RL environment on the Hugging Face Hub. Find all real numbers $a$ such that the equation \ x^3 - ax^2 - 2ax + a^2 - 1 = 0\ has exactly one real solution in $x.$
The task
Find all real numbers $a$ such that the equation \[x^3 - ax^2 - 2ax + a^2 - 1 = 0\]has exactly one real solution in $x.$