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

%I #10 Oct 08 2017 12:39:31

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

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

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

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

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

%H <a href="/index/Fi#FIXEDPOINTS">Index entries for sequences that are fixed points of mappings</a>

%e 0 -> 11 -> 100100- -> 10011111001111 -> 10011111001001001001001111100100100100 -> ...

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

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

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

%Y Cf. A285428, A285429.

%K nonn,easy

%O 1

%A _Clark Kimberling_, Apr 28 2017