login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A050266 Primes of the form n^3 + n^2 + 17, for nonnegative values of n. 31
17, 19, 29, 53, 97, 167, 269, 409, 593, 827, 1117, 1889, 2383, 2957, 3617, 6173, 7237, 9719, 11149, 12713, 16267, 18269, 25247, 27917, 33809, 47969, 56333, 65617, 70619, 75869, 81373, 99469, 112913, 120067, 143329, 151703, 160397, 188459 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

n=-2 produces the prime 13. - Robert Price, Apr 25 2016

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..10000

Eric Weisstein's World of Mathematics, Prime-Generating Polynomial.

MATHEMATICA

lst={}; Do[p=n^3+n^2+17; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 3*5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 28 2009 *)

Select[Table[n^3+n^2+17, {n, 0, 51800}], PrimeQ] (* Vincenzo Librandi, Dec 08 2011 *)

PROG

(MAGMA) [a: n in [0..100] | IsPrime(a) where a is  n^3+n^2+17]; // Vincenzo Librandi, Dec 08 2011

CROSSREFS

Sequence in context: A065742 A155089 A101396 * A045803 A098933 A145485

Adjacent sequences:  A050263 A050264 A050265 * A050267 A050268 A050269

KEYWORD

nonn,easy

AUTHOR

Eric W. Weisstein

EXTENSIONS

17 added by Vincenzo Librandi, Dec 08 2011

Altered definition to require that n be nonnegative. - Robert Price, Apr 25 2016

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:02 EDT 2019. Contains 322404 sequences. (Running on oeis4.)