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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137475 Positive numbers n such that n^3 +- (n+1)^2 are primes. 1
3, 8, 15, 35, 39, 45, 50, 65, 92, 99, 122, 140, 164, 167, 170, 198, 237, 284, 287, 297, 339, 354, 408, 435, 515, 522, 552, 582, 594, 650, 668, 708, 725, 737, 753, 830, 1010, 1068, 1098, 1128, 1253, 1295, 1373, 1424, 1502, 1548, 1553, 1599, 1704, 1779, 1817 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

3^3 +- 4^2 -> (11,43) Primes,

167^3 +- 168^2 -> 4657463 +- 28224 -> Primes

MATHEMATICA

Select[Range[900], PrimeQ[ #^3-(#+1)^2]&&PrimeQ[ #^3+(#+1)^2]&]

PROG

(MAGMA) [n: n in [2..500] | IsPrime(n^3-(n+1)^2)and IsPrime(n^3 +(n+1)^2)] [From Vincenzo Librandi, Nov 24 2010]

CROSSREFS

Sequence in context: A090741 A032234 A032255 * A176433 A132810 A032159

Adjacent sequences:  A137472 A137473 A137474 * A137476 A137477 A137478

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Apr 21 2008

EXTENSIONS

More terms from Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Mar 26 2010

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 .

Last modified February 16 10:53 EST 2012. Contains 205904 sequences.