The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A111501 Numbers n such that n^3 - n^2 + 1 is prime. 8
 2, 3, 5, 6, 8, 13, 14, 21, 24, 26, 28, 29, 33, 34, 35, 36, 40, 43, 45, 48, 49, 50, 51, 55, 58, 76, 80, 83, 89, 90, 93, 96, 99, 100, 101, 104, 110, 111, 115, 118, 120, 121, 124, 133, 135, 138, 140, 148, 149, 161, 170, 173, 181, 190, 191, 194, 195, 201, 203, 204, 205 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Ivan Neretin, Table of n, a(n) for n = 1..10000 EXAMPLE 2^3 - 2^2 + 1 = 8 - 4 + 1 = 5, which is prime. MATHEMATICA Select[Range[210], PrimeQ[#^3-#^2+1]&] (* Harvey P. Dale, Mar 04 2012 *) PROG (PARI) isok(n) = isprime(n^3 - n^2 + 1); \\ Michel Marcus, Aug 24 2016 CROSSREFS Cf. A162292 (corresponding primes). Sequence in context: A125559 A331865 A087360 * A094565 A364122 A034722 Adjacent sequences: A111498 A111499 A111500 * A111502 A111503 A111504 KEYWORD easy,nonn AUTHOR Pierre CAMI, Nov 16 2005 EXTENSIONS More terms from Vladimir Joseph Stephan Orlovsky, Jun 30 2009 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.

Last modified May 29 11:49 EDT 2024. Contains 372940 sequences. (Running on oeis4.)