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!)
A137702 Prime numbers p such that p +- ((p-1)/2) are primes. 2
5, 13, 73, 421, 541, 613, 661, 673, 1201, 1453, 2341, 2473, 2593, 3061, 3313, 4441, 4561, 5113, 6073, 6121, 6133, 8521, 8893, 9601, 9901, 10453, 11161, 11701, 12301, 12721, 13381, 13681, 13933, 15241, 15361, 15373, 15733, 16033, 16333, 16381 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
(5-2, 5+2) are prime
(13-6, 13+6) are prime
MATHEMATICA
Select[Prime[Range[1000]], PrimeQ[#-(#-1)/2] && PrimeQ[#+(#-1)/2]&]
PROG
(PARI) forprime(p=3, 1e5, if(isprime(p+p\2)&isprime(p\2+1), print1(p", ")))
CROSSREFS
Cf. A174734.
Sequence in context: A139361 A115329 A272645 * A140120 A303962 A304927
KEYWORD
nonn,easy
AUTHOR
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 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)