login
A139690
a(n) = A109611(n) + 2.
6
4, 5, 7, 9, 13, 15, 19, 21, 25, 31, 33, 39, 43, 49, 55, 61, 69, 73, 85, 91, 103, 109, 111, 115, 129, 133, 139, 141, 151, 159, 169, 181, 183, 193, 199, 201, 213, 229, 235, 241, 253, 259, 265, 271, 283, 295, 309, 313, 319, 339, 349, 355, 361, 381, 391, 403, 411
OFFSET
1,1
COMMENTS
A010051(a(n)) = A139689(n); A064911(a(n)) = 1 - A139689(n);
A001222(a(n)) = 2 - A139689(n).
LINKS
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
Intersection of A052147 and A037143; A006512 is a subsequence.
Cf. A109611.
Sequence in context: A284132 A263427 A052147 * A283559 A284190 A035266
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 29 2008
STATUS
approved