login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
Sequence in context: A002592 A054553 A185052 * A009457 A175172 A218057
KEYWORD
nonn,easy
AUTHOR
Cino Hilliard, Nov 17 2003
EXTENSIONS
Added the first term (2) by Vincenzo Librandi, Jul 16 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 22 12:33 EDT 2024. Contains 373571 sequences. (Running on oeis4.)