OFFSET
1
COMMENTS
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
EXAMPLE
Iterates, starting with 00:
00
001
00110
00110100
0011010010001
001101001000110001010
001101001000110001010100010100100
MATHEMATICA
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "001", "1" -> "10"}]
Table[w[n], {n, 0, 8}]
st = ToCharacterCode[w[11]] - 48 (* A284932 *)
Flatten[Position[st, 0]] (* A285352 *)
Flatten[Position[st, 1]] (* A285303 *)
Table[StringLength[w[n]], {n, 1, 35}] (* A286938 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 03 2017
STATUS
approved