This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A154111 Numbers n such that (n+1)^2-n^3 is prime. 3
 1, 3, 5, 6, 8, 11, 12, 15, 18, 20, 27, 33, 35, 39, 41, 45, 48, 50, 54, 65, 66, 68, 86, 87, 92, 96, 99, 107, 116, 122, 123, 126, 138, 140, 149, 150, 156, 159, 161, 164, 165, 167, 170, 177, 182, 185, 188, 191, 192, 198, 200, 207, 209, 219, 228, 237, 239, 240, 242, 252 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS MATHEMATICA a[n_]:=(n+1)^2-n^3; lst={}; Do[If[PrimeQ[a[n]], AppendTo[lst, n]], {n, 6!}]; lst PROG (MAGMA) [n: n in [0..500] | IsPrime((n+1)^2-n^3)] [From Vincenzo Librandi, Nov 26 2010] CROSSREFS Cf. A140719, A005097 Sequence in context: A014254 A131422 A087720 * A047444 A212439 A160734 Adjacent sequences:  A154108 A154109 A154110 * A154112 A154113 A154114 KEYWORD nonn 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 | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .