login
Fixed point of the morphism 0->11, 1->1011.
4

%I #5 May 02 2017 10:51:46

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

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

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

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

%H Clark Kimberling, <a href="/A285657/b285657.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 -> 1011 -> 10111110111011 -> 10111110111011101110111011111011101110111110111011... ->

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

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

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

%Y Cf. A285658, A285659.

%K nonn,easy

%O 1

%A _Clark Kimberling_, May 01 2017