login
Fixed point of the morphism 0->11, 1-> 101.
3

%I #6 Jan 15 2022 13:29:46

%S 1,0,1,1,1,1,0,1,1,0,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,

%T 1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,

%U 1,0,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1

%N Fixed point of the morphism 0->11, 1-> 101.

%H Clark Kimberling, <a href="/A285430/b285430.txt">Table of n, a(n) for n = 1..10000</a>

%e 0 -> 11 -> 10101- -> 1011110111101 -> 101111011011011011110110110110111101 ->

%t s = Nest[Flatten[# /. {0 -> {1, 1}, 1 -> {1, 0, 1}}] &, {0}, 13] (* A285430 *)

%t Flatten[Position[s, 0]] (* A026364 *)

%t Flatten[Position[s, 1]] (* A026363 *)

%t Take[SubstitutionSystem[{0->{1,1},1->{1,0,1}},{1},{5}][[1]],100] (* _Harvey P. Dale_, Jan 15 2022 *)

%Y Cf. A026363, A026364.

%K nonn,easy

%O 1

%A _Clark Kimberling_, Apr 28 2017