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!)
A238699 Primes p such that 2p + 3 and 4p + 3 are both prime. 1
2, 5, 7, 17, 19, 47, 67, 89, 157, 227, 229, 307, 349, 439, 467, 487, 509, 599, 647, 797, 929, 1039, 1187, 1217, 1237, 1259, 1307, 1427, 1447, 1567, 1789, 2027, 2309, 2467, 2539, 2707, 2789, 2819, 3167, 3457, 3499, 3659, 3877, 3919, 4057, 4079, 4157, 4289, 4297 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Intersection of A023204 and A023213.
Primes in A115334.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
89 is in the sequence because 2*89 + 3 = 181 and 4*89 + 3 = 359 are both prime.
MATHEMATICA
Select[Prime[Range[600]], AllTrue[{2#+3, 4#+3}, PrimeQ]&] (* Harvey P. Dale, Dec 24 2023 *)
PROG
(Magma) [p: p in PrimesUpTo(4500) | IsPrime(2*p+3) and IsPrime(4*p+3)]; // Bruno Berselli, Mar 03 2014
(PARI) select(p->isprime(2*p+3)&&isprime(4*p+3), primes(1000)) \\ Charles R Greathouse IV, Mar 06 2014
CROSSREFS
Sequence in context: A158526 A146364 A105895 * A068360 A110254 A019084
KEYWORD
nonn
AUTHOR
Ilya Lopatin, Mar 03 2014, following a suggestion by Juri-Stepan Gerasimov
EXTENSIONS
Edited by Bruno Berselli, Mar 03 2014
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 July 23 04:10 EDT 2024. Contains 374544 sequences. (Running on oeis4.)