login
A173876
Primes p such that 3*p+2, 5*p+4 and 7*p+6 are also prime.
1
5, 83, 419, 479, 1259, 1583, 1949, 2099, 2609, 4049, 4079, 5333, 6359, 6473, 7019, 7523, 7559, 8699, 11933, 14939, 15329, 17573, 21839, 22013, 23633, 24683, 25733, 25763, 26633, 28703, 28979, 29819, 31079, 31139, 32999, 34439, 35129, 38729
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[5000]], PrimeQ[3 # + 2] && PrimeQ[5 # + 4] && PrimeQ[7 # + 6] &] (* Vincenzo Librandi, Apr 10 2013 *)
Select[Prime[Range[5000]], AllTrue[{3#+2, 5#+4, 7#+6}, PrimeQ]&] (* Harvey P. Dale, Jul 14 2022 *)
PROG
(Magma) [p: p in PrimesUpTo(100000) | IsPrime(p) and IsPrime(3*p+2) and IsPrime(5*p+4) and IsPrime(7*p+6)];
CROSSREFS
Sequence in context: A142162 A082546 A348790 * A368080 A348791 A250549
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 07 2010
STATUS
approved