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

%I #5 May 01 2017 08:31:02

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

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

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

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

%H Clark Kimberling, <a href="/A285617/b285617.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 -> 10001000 -> 10001111111000111111 -> 1000111111100010001000... ->

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

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

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

%Y Cf. A285618, A285619.

%K nonn,easy

%O 1

%A _Clark Kimberling_, May 01 2017