
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 $n \geqslant 2$ (where $n$ is a positive integer), such that $n$ can be written as $n=k^{2}+d^{2}$, where $k$ is the smallest prime factor of $n$ and $d$ is a divisor of $n$ greater than 1.

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