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!)
A230039 Primes p such that 2*p+1 is not prime and 2*p+3 is prime. 3
7, 13, 17, 19, 43, 47, 67, 73, 97, 127, 137, 139, 157, 167, 193, 197, 199, 223, 227, 229, 269, 277, 283, 307, 337, 349, 353, 379, 383, 397, 409, 439, 463, 467, 487, 503, 523, 547, 557, 563, 599, 607, 613, 617, 643, 647, 739, 773, 797, 827, 853, 859, 887, 929 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Intersection of A023204 and A053176. - Felix Fröhlich, Jan 14 2017
LINKS
EXAMPLE
43 is in the sequence because 2*43+1=87 (not prime) and 2*43+3=89 (prime).
MATHEMATICA
Select[Range[10^5], PrimeQ[#]&& !PrimeQ[2#+1]&& PrimeQ[2#+3]&]
PROG
(Magma) [p: p in PrimesUpTo(2500)|not IsPrime(2*p+1) and IsPrime(2*p+3)];
(PARI) is(n) = ispseudoprime(n) && !ispseudoprime(2*n+1) && ispseudoprime(2*n+3) \\ Felix Fröhlich, Jan 14 2017
CROSSREFS
Sequence in context: A106084 A110053 A276045 * A226138 A180263 A002733
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 10 2013
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 25 10:34 EDT 2024. Contains 371967 sequences. (Running on oeis4.)