Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
login
A359835
a(n) = 0 if A353418(n) = 0, otherwise 1. Here A353418 is Dirichlet inverse of the characteristic function for numbers k at which points A156552(k) is a multiple of 3.
2
1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1
OFFSET
1
COMMENTS
In contrast to A359836, which seems to satisfy A359836(n) <= A353269(n), here a(n) - A353269(n) may obtain any of the values -1, 0 or +1.
FORMULA
a(n) = [A353418(n) != 0], where [ ] is the Iverson bracket.
a(n) = a(A003961(n)) = a(A348717(n)), for all n >= 1.
a(n) >= A359836(n).
PROG
(PARI) A359835(n) = !!A353418(n);
CROSSREFS
Characteristic function for nonzero terms of A353418.
Sequence in context: A330682 A230135 A359836 * A353331 A353269 A205633
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 21 2023
STATUS
approved