A046135 Primes p such that p+2 and p+12 are primes.
5, 11, 17, 29, 41, 59, 71, 101, 137, 179, 227, 239, 269, 281, 347, 419, 431, 641, 809, 827, 1019, 1049, 1091, 1151, 1277, 1289, 1427, 1481, 1487, 1607, 1697, 1721, 1877, 2027, 2087, 2129, 2141, 2339, 2381, 2687, 2729, 2789, 2999, 3359, 3527, 3581
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
- Eric Weisstein's World of Mathematics, Prime Triplet
Programs
-
Magma
[p: p in PrimesUpTo(3600) | IsPrime(p+2) and IsPrime(p+12)]; // Vincenzo Librandi, Apr 09 2013
-
Mathematica
Select[Prime[Range[600]], PrimeQ[# + 2] && PrimeQ[# + 12]&] (* Vincenzo Librandi, Apr 09 2013 *) Select[Prime[Range[600]],AllTrue[#+{2,12},PrimeQ]&] (* Harvey P. Dale, Jun 26 2025 *)
Formula
Extensions
Edited by R. J. Mathar and N. J. A. Sloane, Aug 13 2008
Comments