login
Fixed point of the morphism 0 -> 01, 1 -> 0001.
4

%I #9 Apr 27 2017 13:01:05

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

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

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

%N Fixed point of the morphism 0 -> 01, 1 -> 0001.

%H Clark Kimberling, <a href="/A284751/b284751.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 -> 01-> 010001 -> 0100010101010001 ->

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

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

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

%Y Cf. A284752, A284753.

%K nonn,easy

%O 1

%A _Clark Kimberling_, Apr 13 2017