login
A173880
Primes p such that 5*p+2, 7*p+4 and 11*p+6 are also prime.
1
7, 61, 151, 157, 571, 997, 1447, 1831, 2251, 3121, 4057, 4177, 5011, 5737, 6907, 10321, 10357, 10567, 11941, 15601, 16477, 19267, 19597, 20347, 22447, 22531, 23131, 24121, 24337, 29587, 29641, 30181, 30817, 33577, 37201, 37447, 38671
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[5000]], PrimeQ[5 # + 2] && PrimeQ[7 # + 4] && PrimeQ[11 # + 6] &] (* Vincenzo Librandi, Apr 10 2013 *)
Select[Prime[Range[5000]], AllTrue[{5#+2, 7#+4, 11#+6}, PrimeQ]&] (* Harvey P. Dale, Mar 30 2022 *)
PROG
(Magma) [p: p in PrimesUpTo(100000) | IsPrime(p) and IsPrime(5*p+2) and IsPrime(7*p+4) and IsPrime(11*p+6)];
CROSSREFS
Sequence in context: A157871 A043085 A079672 * A100698 A141952 A289723
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 07 2010
STATUS
approved