OFFSET
1,1
COMMENTS
It seems that a(n) == 9 mod 10 for n > 1.
a(n) == 9 (mod 10) for n > 1 since if p1 == 1, 3 or 7 (mod 10) then 2*p1 + p2, p2, or 2*p1 + p2 + 2 is divisible by 5, respectively. - Amiram Eldar, Dec 31 2019
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[10^6], And @@ PrimeQ[{#, # + 2, (p = 3*# + 2), p + 2, 3*p + 2}] &] (* Amiram Eldar, Dec 31 2019 *)
PROG
(PARI) isok(p) = isprime(p) && isprime(p+2) && isprime(q=3*p+2) && isprime(q+2) && isprime(3*q+2); \\ Michel Marcus, May 23 2014
KEYWORD
nonn
AUTHOR
Ivan N. Ianakiev, May 22 2014
STATUS
approved