%I #6 Apr 07 2020 22:17:47
%S 0,1,1,0,1,1,1,0,0,0,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,0,
%T 1,1,1,1,0,1,1,1,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,
%U 1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0
%N 3-limiting word of the mapping 00->1000, 10->011, starting with 00.
%C Iterates of the mapping, starting with 00:
%C 00
%C 1000
%C 0111000
%C 0110111000
%C 01011110111000
%C 0011111011110111000
%C 10001111011111011110111000
%C 01110001110111111011111011110111000
%C 011011100011011111110111111011111011110111000
%C The 3-limiting word is the limit of the n-th iterates for n == 3 mod 5.
%C The number of letters (0's and 1's) in the n-th iterate is given by A288243(n), for n >= 0.
%H Clark Kimberling, <a href="/A288861/b288861.txt">Table of n, a(n) for n = 1..10000</a>
%e The first two n-th iterates for n == 3 mod 5:
%e 0110111000
%e 011011100011011111110111111011111011110111000
%e (The lengths of the first 10 such iterates are 10, 45, 127, 279, 534, 947, 1594, 2573, 4018, 6126.)
%t s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
%t w[n_] := StringReplace[w[n - 1], {"00" -> "1000", "10" -> "011"}]
%t Table[w[n], {n, 0, 8}]
%t st = ToCharacterCode[w[53]] - 48 (* A288861 *)
%t Flatten[Position[st, 0]] (* A288862 *)
%t Flatten[Position[st, 1]] (* A288863 *)
%t Table[StringLength[w[n]], {n, 0, 30}] (* A288243 *)
%Y Cf. A288226 (0-limiting word), A288855 (1-limiting word), A288858 (2-limiting word), A288864 (4-limiting word), A288862, A288863, A288243.
%K nonn,easy
%O 1
%A _Clark Kimberling_, Jun 23 2017
|