OFFSET
1
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
EXAMPLE
Iterates, starting with 00:
00
0001
0001000
000100000010
0001000000100010001000
0001000000100010001000001000000100000010
MATHEMATICA
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "0001", "1" -> "00"}]
Table[w[n], {n, 0, 8}]
st = ToCharacterCode[w[11]] - 48 (* A288314 *)
Flatten[Position[st, 0]] (* A288315 *)
Flatten[Position[st, 1]] (* A288316 *)
Table[StringLength[w[n]], {n, 1, 35}] (* A288317 conjectured *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 09 2017
STATUS
approved