A174786 Numbers n congruent to 3 (mod 6) such that n+2 and n+8 are primes.
3, 9, 15, 21, 39, 45, 51, 81, 99, 105, 129, 165, 171, 189, 225, 231, 249, 255, 261, 309, 345, 351, 381, 441, 459, 501, 555, 561, 585, 591, 639, 645, 651, 675, 819, 855, 879, 939, 945, 969, 975, 1011, 1089, 1095, 1101, 1179, 1185, 1215, 1221, 1275, 1281, 1299, 1359, 1365
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Select[6Range[230]-3,And@@PrimeQ[{#+2,#+8}]&] (* Harvey P. Dale, Aug 21 2011 *)
Extensions
Definition corrected and sequence extended - R. J. Mathar, Mar 30 2010