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!)
A098806 Smallest prime p such that 2n-p and 2n+p are both prime. 2
5, 7, 11, 11, 13, 17, 17, 23, 23, 29, 31, 37, 37, 43, 41, 43, 47, 53, 53, 59, 67, 67, 71, 71, 79, 89, 83, 89, 101, 97, 101, 101, 109, 107, 131, 113, 127, 131, 127, 131, 137, 137, 179, 149, 157, 157, 193, 191, 167, 179, 179, 181, 193, 193, 191, 193, 197, 211, 227, 211 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
PROG
(PARI) f(n) = for(p=1, n, for(x=1, n, y=x-p; z=x+p; if(isprime(y)&isprime(z)&isprime(x), print1(x", "); break)))
CROSSREFS
Cf. A098807.
Sequence in context: A206770 A107257 A275515 * A256103 A275645 A122278
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Oct 06 2004
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 April 19 11:14 EDT 2024. Contains 371791 sequences. (Running on oeis4.)