
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Find all real polynomials  $ g(x)$  of degree at most  $ n \minus{} 3$ ,  $ n\geq 3$ , knowing that all the roots of the polynomial  $ f(x) \equal{} x^n \plus{} nx^{n \minus{} 1} \plus{} \frac {n(n \minus{} 1)}2 x^{n \minus{} 2} \plus{} g(x)$  are real.

Present the answer in LaTex format: \boxed{Your answer}
user