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

%I #8 Apr 27 2017 13:01:40

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

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

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

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

%H Clark Kimberling, <a href="/A284901/b284901.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-> 011000 -> 0110001000010101 ->

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

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

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

%Y Cf. A284902, A284903.

%K nonn,easy

%O 1

%A _Clark Kimberling_, Apr 16 2017