OFFSET
1,1
COMMENTS
All numbers n have to be even, because sum of 3 odd + 1 is even and can't be prime >3.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Do[If[PrimeQ[1 + n + n^3 + n^5], Print[n]], {n, 1, 300}]
Select[Range[1000], PrimeQ[Total[#^Range[1, 5, 2]] + 1] &] (* Vincenzo Librandi, Jun 27 2014 *)
PROG
(PARI) forstep(n=2, 1000, 2, if(isprime(1 + n + n^3 + n^5), print1(n", "))) \\ Franklin T. Adams-Watters, Apr 09 2009
(Magma) [n: n in [0..600] | IsPrime(s) where s is 1+&+[n^i: i in [1..5 by 2]]]; // Vincenzo Librandi, Jun 27 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Dec 13 2006
EXTENSIONS
More terms from Franklin T. Adams-Watters, Apr 09 2009
STATUS
approved