A106091 Primes p such that 7*p + 12 and 12*p + 7 are primes.
5, 11, 13, 17, 23, 31, 43, 53, 61, 71, 73, 97, 107, 131, 167, 173, 181, 211, 227, 277, 307, 337, 383, 463, 503, 557, 601, 643, 701, 727, 811, 827, 877, 887, 907, 911, 937, 941, 997, 1013, 1031, 1051, 1091, 1097, 1193, 1201, 1223, 1231, 1277, 1303, 1361
Offset: 1
Keywords
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[p: p in PrimesUpTo(5000)|IsPrime(7*p+12) and IsPrime(12*p+7)] // Vincenzo Librandi, Jan 30 2011
-
Mathematica
Select[Prime[Range[220]], PrimeQ[12#+7]&&PrimeQ[7#+12]&]