
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
Let  $p$  be a certain prime number. Find all non-negative integers  $n$  for which polynomial  $P(x)=x^4-2(n+p)x^2+(n-p)^2$  may be rewritten as product of two quadratic polynomials  $P_1, \ P_2 \in \mathbb{Z}[X]$ .

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