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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A087695 Numbers n such that n +/- 3 are both prime. 17
8, 10, 14, 16, 20, 26, 34, 40, 44, 50, 56, 64, 70, 76, 86, 100, 104, 106, 110, 134, 154, 160, 170, 176, 194, 196, 226, 230, 236, 254, 260, 266, 274, 280, 310, 314, 334, 350, 356, 370, 376, 386, 436, 446, 460, 464, 506, 544, 560, 566, 574, 590, 596 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

MAPLE

ZL:=[]:for p from 1 to 600 do if (isprime(p) and isprime(p+6) ) then ZL:=[op(ZL), (p+(p+6))/2]; fi; od; print(ZL); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Mar 07 2007

MATHEMATICA

lst={}; Do[If[PrimeQ[n-3]&&PrimeQ[n+3], AppendTo[lst, n]], {n, 10^3}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 08 2008]

CROSSREFS

Cf. A014574, A087678-A087683, A087695-A087697, A088763.

Equals A046117 - 3.

Sequence in context: A171689 A163628 A060864 * A134321 A027693 A196226

Adjacent sequences:  A087692 A087693 A087694 * A087696 A087697 A087698

KEYWORD

easy,nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Sep 27 2003

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 16:49 EST 2012. Contains 206058 sequences.