login
A269625
a(1)=1; a(2)=0. For n>=3 , if {d(1),...,d(r)} is a part of {a(1),...,a(n-1)} then a(n)=1 else a(n)=0. d(j) digits of the binary representation of n.
1
1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0
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
Sequence in context: A355683 A373374 A120523 * A359828 A359781 A030315
KEYWORD
nonn,base
AUTHOR
Ctibor O. Zizka, Mar 01 2016
STATUS
approved