OFFSET
1,2
EXAMPLE
a(1)=1 because 1 and 3 are both in A002822.
PROG
(PARI) isokp(n) = isprime(6*n-1) && isprime(6*n+1);
isok(k) = isokp(k) && isokp(k+2); \\ Michel Marcus, May 15 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Feb 13 2010
EXTENSIONS
Definition corrected, and sequence corrected (1158 inserted) by R. J. Mathar, May 02 2010
More terms from Jinyuan Wang, May 15 2020
STATUS
approved