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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158295 Primes p such that p^3-p-+1 are twin primes. 2
2, 11, 31, 41, 239, 521, 2309, 4099, 4409, 4441, 4651, 5009, 5039, 5261, 6481, 6871, 7129, 8609, 9391, 10259, 12841, 13759, 14519, 14879, 14939, 15569, 16871, 18451, 20369, 22441, 24049, 25841, 28151, 28279, 29429, 30181, 30631, 32089, 32299 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

2^3-2=6-+1 = 5,7 primes, 11^3-11-+1 = 1319,1321 primes... Primes p such that p^3+p-+1 are twin primes, so far only one: 3. 3^3+3=30-+1 = primes.

MATHEMATICA

lst={}; Do[p=Prime[n]; a=p^3-p; If[PrimeQ[a-1]&&PrimeQ[a+1], AppendTo[lst, p]], {n, 8!}]; lst

CROSSREFS

Cf. A120364, A088483

Sequence in context: A094005 A190154 A115058 * A085041 A197642 A121346

Adjacent sequences:  A158292 A158293 A158294 * A158296 A158297 A158298

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Mar 15 2009

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 17 00:09 EST 2012. Contains 205978 sequences.