OFFSET
1,1
COMMENTS
LINKS
R. Zumkeller, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Chen Prime
PROG
(PARI) list(lim)=my(v=List(), t); forprime(p=2, lim\2, forprime(q=2, min(p, lim\p), if(isprime(t=p*q-2), listput(v, t+2)))); t=2; forprime(p=3, lim, if(p-t==2, listput(v, p)); t=p); Set(v) \\ Charles R Greathouse IV, Jan 19 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 29 2008
STATUS
approved