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!)
 A154113 Primes of the form (n+1)^3 - n^2. 2
 7, 23, 109, 191, 307, 463, 919, 1231, 1607, 2053, 4657, 7639, 8861, 34913, 41719, 53503, 77743, 89189, 95311, 122599, 138007, 146173, 182057, 223381, 246203, 353011, 383833, 416399, 433351, 468623, 505759, 544807, 721079, 745471, 875711 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS G. C. Greubel, Table of n, a(n) for n = 1..2000 EXAMPLE 2^3-1^2=7, 3^3-2^2=23, ... MATHEMATICA a[n_]:=(n+1)^3-n^2; lst={}; Do[If[PrimeQ[a[n]], AppendTo[lst, a[n]]], {n, 6!}]; lst Select[(#+1)^3-#^2&/@Range[200], PrimeQ] (* Harvey P. Dale, Mar 14 2011 *) PROG (Magma) [a: n in [0..100] | IsPrime(a) where a is (n+1)^3 - n^2]; // Vincenzo Librandi, Sep 02 2016 (PARI) for(n=1, 1e3, if(isprime(t=(n+1)^3 - n^2), print1(t", "))) \\ Charles R Greathouse IV, Sep 02 2016 CROSSREFS Cf. A140719, A005097, A154111, A154112. Sequence in context: A316734 A096327 A267805 * A340889 A053706 A137367 Adjacent sequences: A154110 A154111 A154112 * A154114 A154115 A154116 KEYWORD nonn,easy AUTHOR Vladimir Joseph Stephan Orlovsky, Jan 04 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 June 13 00:48 EDT 2024. Contains 373362 sequences. (Running on oeis4.)