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

%I #5 May 02 2017 20:48:25

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

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

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

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

%H Clark Kimberling, <a href="/A285661/b285661.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 -> 1100 -> 110011001111 -> 1100110011111100110011111100110011001100... ->

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

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

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

%Y Cf. A285662, A285663.

%K nonn,easy

%O 1

%A _Clark Kimberling_, May 02 2017