OFFSET
1,1
MATHEMATICA
Select[Prime[Range[220]], PrimeQ[2#+7]||PrimeQ[7#+2]&] (* Shepherd *)
PROG
(PARI) isok(n) = isprime(n) && (isprime(7*n+2) || isprime(2*n+7)); \\ Michel Marcus, Oct 06 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, May 26 2005
EXTENSIONS
Edited by Rick L. Shepherd, Feb 01 2006
STATUS
approved