Show that The only prime of the form $n^2-4$, $n$ being an integer is $3$
We have $n^2-4=(n+2)(n-2)$ Now for $n^2-4$ being prime value of $(n-2)$ must be $1$. Then $n=3$ and putting the value we get $n=(3^2-4)=5$ But we need to get $3$ instead of $5$
But when we put $n=1$ then we get $n^2-4=-3$ may it be a printing mistake?
Let us consider $p=n^2-4$ be a prime, where $n\ge3$
Since, for $n=1,2,$ $p$ is negative or zero
$p=n^2-4=(n-2)(n+2)$
If $n>3,$ then $n-2>1$ and $n+2>1$
$=> p$ is not a prime
Therefore, $n=3$ is the only possibility.
If $n=3,$ then $p=3^2-4=5$
Therefore, $5$ is the only prime of the form $n^2-4$