login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137472 Primes p such that p^3 +- (p+1) are primes. 1
2, 3, 29, 41, 71, 191, 239, 701, 2309, 2531, 4229, 5261, 6491, 6971, 8009, 10559, 11279, 11393, 11789, 12203, 12329, 14519, 17021, 18041, 18719, 20369, 23561, 23633, 28499, 33329, 34499, 37409, 38453, 41051, 41843, 42359, 44159 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

EXAMPLE

2^3 +- 3 -> ( 5,11) (primes);

3^3 +- 4 -> (23,31) (primes).

MAPLE

a:=proc(n): if isprime(ithprime(n)^3+ithprime(n)+1)=true and isprime(ithprime(n)^3-ithprime(n)-1)=true then ithprime(n) else end if end proc: seq(a(n), n= 1..4000); # Emeric Deutsch, Apr 29 2008

MATHEMATICA

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

CROSSREFS

Sequence in context: A059453 A235481 A214889 * A065932 A143882 A108657

Adjacent sequences:  A137469 A137470 A137471 * A137473 A137474 A137475

KEYWORD

nonn,easy

AUTHOR

Vladimir Joseph Stephan Orlovsky, Apr 21 2008

EXTENSIONS

More terms from Stefan Steinerberger and Emeric Deutsch, Apr 26 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 6 09:38 EDT 2020. Contains 336245 sequences. (Running on oeis4.)