When Is \( n^4 + 4 \) a Prime Number?

  • Thread starter Thread starter Greg
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
Greg
Gold Member
MHB
Messages
1,377
Reaction score
0
Here is this week's POTW:

-----

Given that $n$ is an integer greater than $0$, when is $n^4+4$ prime?

-----

Remember to read the https://mathhelpboards.com/showthread.php?772-Problem-of-the-Week-%28POTW%29-Procedure-and-Guidelines to find out how to https://mathhelpboards.com/forms.php?do=form&fid=2!
 
Physics news on Phys.org
Congratulations to Opalg, topsquark, kaliprasad, Olinguito and castor28 for their correct solutions. castor28's solution may be found below.

We have the polynomial identity:
$$
n^4 + 4 = (n^2 - 2n + 2)(n^2 + 2n + 2)
$$
Where both factors are integers if $n$ is an integer. The second factor is always greater than $1$, and the first one is greater than $1$ if $n>1$, in which case $n^4+4$ is composite. If $n=1$, $n^4+4=5$ is prime.

Therefore, $n^4+4$ is prime if and only if $n=1$.