login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137461 Positive numbers k such that k^3 + k - 1 and k^3 - k + 1 are both primes. 0
4, 7, 10, 15, 21, 25, 39, 52, 87, 120, 129, 139, 189, 202, 259, 286, 316, 376, 391, 466, 472, 486, 510, 532, 574, 631, 642, 684, 685, 739, 750, 769, 882, 972, 987, 991, 1029, 1074, 1092, 1201, 1212, 1231, 1320, 1326, 1456, 1506, 1522, 1524, 1539, 1575, 1632 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
7^3 +- 6 -> (337, 349) (both prime);
139^3 +- 138 -> (2685481, 2685757) (both prime).
MATHEMATICA
Select[Range[999], PrimeQ[ #^3-(#-1)]&&PrimeQ[ #^3+(#-1)]&]
PROG
(Magma) [n: n in [0..500] | IsPrime(n^3-(n-1))and IsPrime(n^3 +(n-1))] // Vincenzo Librandi, Nov 24 2010
CROSSREFS
Sequence in context: A310706 A095875 A071408 * A137379 A342761 A096676
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Mar 26 2010
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 18:49 EDT 2024. Contains 371781 sequences. (Running on oeis4.)