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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137669 Prime numbers p such that p +- a and p +- b are prime numbers where a and b are distinct positive integers with a < b < p. 0
11, 13, 17, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

71+-12=primes and 71+-18=primes

103+- 6=primes and 103+-24=primes

107+- 6=primes and 107+-24=primes

127+-24=primes and 127+-30=primes

MATHEMATICA

l = {}; For[n = 1, n < 80, n++, c = 0; For[a = 1, a < Prime[n] - 2, a++, If[PrimeQ[Prime[n] - a] && PrimeQ[Prime[n] + a], For[b = a + 1, b < Prime[n], b++, If[PrimeQ[Prime[n] - b] && PrimeQ[Prime[n] + b], c = 1; Break; Break]]]]; If[c == 1, AppendTo[l, Prime[n]]]]; l - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), May 02 2008

CROSSREFS

Sequence in context: A036977 A120168 A087681 * A152470 A191023 A078861

Adjacent sequences:  A137666 A137667 A137668 * A137670 A137671 A137672

KEYWORD

nonn,changed

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Apr 27 2008

EXTENSIONS

Corrected and extended by Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), May 02 2008

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 16 10:43 EST 2012. Contains 205904 sequences.