%I
%S 7,61,151,157,571,997,1447,1831,2251,3121,4057,4177,5011,5737,6907,
%T 10321,10357,10567,11941,15601,16477,19267,19597,20347,22447,22531,
%U 23131,24121,24337,29587,29641,30181,30817,33577,37201,37447,38671
%N Primes p such that 5*p+2, 7*p+4 and 11*p+6 are also prime.
%H Vincenzo Librandi, <a href="/A173880/b173880.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Prime[Range[5000]], PrimeQ[5 # + 2] && PrimeQ[7 # + 4] && PrimeQ[11 # + 6] &] (* _Vincenzo Librandi_, Apr 10 2013 *)
%o (MAGMA) [p: p in PrimesUpTo(100000)  IsPrime(p) and IsPrime(5*p+2) and IsPrime(7*p+4) and IsPrime(11*p+6)];
%K nonn,easy
%O 1,1
%A _Vincenzo Librandi_, Mar 07 2010
