|
|
A088547
|
|
Primes of the form x^3+x^2+x+2.
|
|
2
|
|
|
2, 5, 41, 157, 401, 821, 2381, 3617, 12721, 20441, 25261, 37061, 81401, 169457, 278917, 333341, 462541, 499361, 712981, 1168757, 1455781, 1534217, 1615421, 2163461, 2705081, 3069797, 3198281, 3605141, 4045121, 4357481, 4519517, 4855541
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Select[Table[n^3+n^2+n+2, {n, 0, 2000}], PrimeQ] (* Vincenzo Librandi, Jul 16 2012 *)
|
|
PROG
|
(PARI) polypn(n, p) = { for(x=1, n, if(p%2, y=2, y=1); for(m=1, p, y=y+x^m; ); if(isprime(y), print1(y", ")); ) }
(Magma) [ a: n in [0..250] | IsPrime(a) where a is n^3+n^2+n+2]; // Vincenzo Librandi, Jul 16 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|