OFFSET
1,1
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
MATHEMATICA
a = {}; Do[If[PrimeQ[1 + n^2 + n^4 + n^6 + n^8 + n^10 + n^12 + n^14 + n^16 + n^18 + n^20 + n^21], AppendTo[a, n]], {n, 1, 1400}]; a
PROG
(PARI) is(n)=isprime(1+n^2+n^4+n^6+n^8+n^10+n^12+n^14+n^16+n^18+n^20+n^21) \\ Charles R Greathouse IV, Jun 13 2017
(Magma) [k:k in [1..3000]| IsPrime(1+k^2+k^4+k^6+k^8+k^10+k^12+k^14+k^16+ k^18+k^20 +k^21)]; // Marius A. Burtea, Feb 11 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Dec 31 2006
STATUS
approved