login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A079292
Near twin primes of order 12: twin primes p,p+2 such that p+12 and p+14 are primes.
1
5, 17, 29, 59, 137, 179, 227, 269, 419, 809, 1019, 1049, 1277, 1289, 1607, 2129, 2789, 3359, 3527, 3917, 4217, 4229, 4259, 4637, 4787, 5009, 5639, 5867, 6689, 6779, 6947, 7547, 8219, 8999, 9419, 11057, 11159, 12239, 13679, 13709, 13997, 14549, 17909
OFFSET
1,1
LINKS
FORMULA
Seq(d, n) = if(n prime & n+2 prime and n+d prime and n+d+2 prime) output n.
EXAMPLE
Seq(12,20) = 5 17 29 59. 5+2 = prime, 5+12 = prime, 5+14 = prime, 17+2 = prime 17+12 = prime, 17+14 = prime.
MATHEMATICA
Select[Range[2*10^4], And @@ PrimeQ[# + {0, 2, 12, 14}] &] (* Amiram Eldar, Dec 26 2019 *)
CROSSREFS
A007530 gives twin primes of order 6.
Sequence in context: A145478 A143103 A091851 * A246334 A272838 A272939
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Feb 08 2003
EXTENSIONS
Offset corrected by Amiram Eldar, Dec 26 2019
STATUS
approved