Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A087680
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A087680 n +/- 4 are both prime. +0
5
7, 9, 15, 27, 33, 57, 63, 75, 93, 105, 135, 153, 177, 195, 237, 267, 273, 363, 393, 405, 435, 453, 483, 495, 567, 573, 597, 603, 657, 687, 705, 723, 747, 765, 825, 915, 933, 987, 1017, 1035, 1065, 1113, 1167, 1197, 1227, 1233, 1287, 1293, 1323, 1377, 1443 (list; graph; listen)
OFFSET

1,1

MAPLE

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

MATHEMATICA

f[n_]:=PrimeQ[n-4]&&PrimeQ[n+4]; lst={}; Do[If[f[n], AppendTo[lst, n]], {n, 3, 8!, 2}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Oct 09 2009]

CROSSREFS

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

Sequence in context: A024902 A111312 A158891 this_sequence A020691 A145830 A140364

Adjacent sequences: A087677 A087678 A087679 this_sequence A087681 A087682 A087683

KEYWORD

easy,nonn

AUTHOR

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

EXTENSIONS

More terms from Ray Chandler (rayjchandler(AT)sbcglobal.net), Oct 26 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 20 00:58 EST 2009. Contains 171054 sequences.


AT&T Labs Research