login
A083924
Characteristic function for A072795.
2
0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
0,1
COMMENTS
The sequence obtained by counting the runs of 0- and 1-bits 1,2,1,2,3,5,9,14,28,... is essentially the sequence A000108 interleaved with the sequence A000245, which appears to be A026008.
FORMULA
a(0) = 0, a(n>0) = 1 if A072771(n)=0, otherwise 0.
CROSSREFS
a(n) = A083923(A069770(n)). Used to compute A083926.
Sequence in context: A357298 A080886 A217207 * A171587 A284627 A322829
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 13 2003
STATUS
approved