

A079304


Near twin primes of order 18: twin primes (p, p+2) such that p+18 and p+20 are primes.


1



11, 41, 179, 599, 641, 809, 1031, 1301, 1931, 2111, 2711, 3371, 3539, 4001, 4241, 5501, 5639, 5849, 6551, 6761, 7331, 8819, 9419, 11699, 13691, 15269, 16631, 17189, 17579, 18041, 18521, 22091, 22619, 23039, 23669, 26681, 26711, 26861, 30851
(list;
graph;
refs;
listen;
history;
text;
internal format)



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 d=18.


EXAMPLE

11 is a term since 11, 11 + 2 = 13, 11 + 18 = 29 and 11 + 20 = 31 are all primes.


MATHEMATICA

Select[Range[3*10^4], And @@ PrimeQ[# + {0, 2, 18, 20}] &] (* Amiram Eldar, Dec 26 2019 *)


CROSSREFS

A007530 gives twin primes of order 6.


KEYWORD

easy,nonn


AUTHOR



EXTENSIONS



STATUS

approved



