OFFSET
1,2
COMMENTS
LINKS
R. Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
S(0) = 110111001011101111000100110101011 ..;
for n<=2: a(n)=n, S(n) = S(n-1);
n=3->'11', a(3)=1->'1', S(3)=10111001011101111000100110101011..;
n=4->'100', a(4)=5->'101', S(4)=10111011011101111000100110101011..;
n=5->'101', a(5)=1->'1', S(5)=111011011101111000100110101011..;
n=6->'110', a(6)=2->'10', S(6)=11011011101111000100110101011..;
n=7->'111', a(7)=7->'111', S(7)=S(6);
n=8->'1000', a(8)=14->'1110', S(8)=11011011101111110100110101011..;
n=9->'1001', a(9)=18->'10010', S(9)=110110111011111101001010101011..;
n=10->'1010', a(10)=16->'10000',
S(10)=1101101110111111000001010101011..;
n=11->'1011', a(11)=2->'10', S(11)=11001110111111000001010101011..;
n=12->'1100', a(12)=1->'1', S(12)=11110111111000001010101011..;
n=13->'1101', a(13)=3->'11', S(13)=111111111000001010101011..;
n=14->'1110', a(14)=7->'111', S(14)=11111111000001010101011..;
n=15->'1111', a(15)=1->'1', S(15)=111111000001010101011..;
n=16->'10000', a(16)=6->'110', S(16)=1111111001010101011.. .
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Aug 24 2007
STATUS
approved