OFFSET
1,2
COMMENTS
Note that all numbers in this sequence are even.
There is no sequence "Numbers n such that n^4+4 is prime" because of the factorization n^4 + 4 = (n^2 + 2n + 2)*(n^2 - 2n + 2). - Michael B. Porter, based on observation by Derek Orr, Mar 17 2014
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
2^5+5 = 37 is prime. Thus, 2 is a member of this sequence.
36^5+5 = 60466181 is prime. Thus, 36 is a member of this sequence.
MATHEMATICA
Select[Range[0, 1500], PrimeQ[#^5+5]&] (* Harvey P. Dale, Feb 03 2015 *)
PROG
(Python)
import sympy
from sympy import isprime
{print(n) for n in range(10**4) if isprime(n**5+5)}
(PARI) is(n)=isprime(n^5+5) \\ Charles R Greathouse IV, Jun 06 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Derek Orr, Mar 16 2014
STATUS
approved