OFFSET
1,1
EXAMPLE
2 is a term because 3 is not a prime of the form 6k+1,
3 is a term because 2 and 5 are not primes of the form 6k+1.
7 is a term because 5 and 11 are not primes of the form 6k+1.
PROG
(PARI) lista(nn) = forprime(p=2, nn, if (((precprime(p-1) % 6) != 1) && ((nextprime(p+1) % 6) != 1), print1(p, ", "))); \\ Michel Marcus, Mar 12 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Dec 19 2009, Feb 11 2010
EXTENSIONS
Entries checked by R. J. Mathar, Apr 14 2010
STATUS
approved