login
A139689
If (n-th Chen prime) + 2 is a prime then 1 else 0.
3
0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Chen Prime
FORMULA
a(n) = 2 - A001222(A139690(n)).
a(n) = A010051(A139690(n)) = 1 - A064911(A139690(n)).
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 29 2008
STATUS
approved