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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A143726 Beastly cousins prime numbers : p+666=prime and p-666=prime. 0
733, 773, 823, 857, 877, 947, 997, 1033, 1087, 1123, 1213, 1223, 1283, 1307, 1327, 1423, 1487, 1607, 1993, 2027, 2137, 2153, 2237, 2273, 2287, 2333, 2543, 2663, 2677, 2693, 2797, 2803, 2917, 3187, 3257, 3323, 3407, 3433, 3463, 3467, 3593, 3623, 3847 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..43.

MATHEMATICA

lst={}; b=666; Do[p=Prime[n]; If[PrimeQ[p+b]&&PrimeQ[p-b], AppendTo[lst, p]], {n, 5!+2, 7!}]; lst

Select[Prime[Range[122, 600]], AllTrue[#+{666, -666}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Apr 08 2018 *)

CROSSREFS

Sequence in context: A044988 A288882 A178093 * A180919 A166607 A297761

Adjacent sequences:  A143723 A143724 A143725 * A143727 A143728 A143729

KEYWORD

nonn

AUTHOR

Vladimir Joseph Stephan Orlovsky, Aug 30 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 May 26 05:25 EDT 2019. Contains 323579 sequences. (Running on oeis4.)