OFFSET
1
EXAMPLE
a(1)=1; a(2)=0.
n=3, binary 11. {1,1} is not a part of {1,0} thus a(3)=0.
n=4, binary 100. {1,0,0} is a part of {1,0,0} thus a(4)=1.
n=5, binary 101. {1,0,1} is not a part of {1,0,0,1} thus a(5)=0.
n=6, binary 110. {1,1,0} is not a part of {1,0,0,1,0} thus a(6)=0.
n=7, binary 111. {1,1,1} is not a part of {1,0,0,1,0,0} thus a(7)=0.
and so on.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Ctibor O. Zizka, Mar 01 2016
STATUS
approved