A156110 Primes p such that p+18 and p+72 are both prime.
11, 29, 41, 79, 109, 139, 179, 211, 239, 349, 431, 449, 491, 569, 601, 701, 739, 751, 809, 811, 839, 911, 919, 991, 1021, 1031, 1051, 1091, 1231, 1289, 1301, 1381, 1409, 1471, 1481, 1549, 1759, 1861, 1931, 2011, 2069, 2081, 2221, 2269, 2339, 2459, 2521
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[p: p in PrimesUpTo(3000)|IsPrime(p + 18) and IsPrime (p + 72)]; // Vincenzo Librandi, Oct 31 2012
-
Mathematica
Select[Prime[Range[3000]], And @@ PrimeQ[{# + 18, # + 72}]&] (* Vincenzo Librandi, Oct 31 2012 *)
Comments