login
Numbers n congruent to 3 (mod 6) such that n+2 and n+8 are primes.
1

%I #11 Nov 21 2013 12:50:01

%S 3,9,15,21,39,45,51,81,99,105,129,165,171,189,225,231,249,255,261,309,

%T 345,351,381,441,459,501,555,561,585,591,639,645,651,675,819,855,879,

%U 939,945,969,975,1011,1089,1095,1101,1179,1185,1215,1221,1275,1281,1299,1359,1365

%N Numbers n congruent to 3 (mod 6) such that n+2 and n+8 are primes.

%H Vincenzo Librandi, <a href="/A174786/b174786.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[6Range[230]-3,And@@PrimeQ[{#+2,#+8}]&] (* _Harvey P. Dale_, Aug 21 2011 *)

%Y Cf. A016945, A023201.

%K nonn,easy

%O 1,1

%A _Giovanni Teofilatto_, Mar 29 2010

%E Definition corrected and sequence extended - _R. J. Mathar_, Mar 30 2010