Going through some Olympiad past papers again. I came across this question:
How many integers $n$ are there such that the result of $n^4-3n^2+9$ is a prime number?
I saw a related post on this, but factoring a quartic equation does not at all seem plausible in a test where you have to finish the question in a maximum of 5 minutes. In addition, I do not even know where to start in this question.
Here’s the answer I got from the answers sheet:
4
Hint:
Try to factorise the expression. It is reminiscent of the square of a binomial
\begin{align} n^4-3n^2+9 &= n^4+6n^2+9-9n^2\\ &=(n^2+3)^2-(3n)^2\\ &= ... \end{align}
Of course, you could write also like $(n^4-6n^2+9)+ 3n^2$ but this leads nowhere.