The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors 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. 1
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; text; internal format)
OFFSET
1,1
LINKS
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, May 02 2008 *)
CROSSREFS
Sequence in context: A120168 A260715 A087681 * A360979 A152470 A191023
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Corrected and extended by Stefan Steinerberger, May 02 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 12:38 EDT 2024. Contains 372533 sequences. (Running on oeis4.)