%I #8 Apr 27 2017 22:50:02
%S 0,1,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,1,1,0,1,1,1,0,1,1,1,0,0,1,
%T 1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,1,1,0,1,1,1,0,1,1,1,0,0,1,0,1,1,1,1,0,
%U 1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,1,1,0
%N Fixed point of the morphism 0 -> 01, 1 -> 1110.
%H Clark Kimberling, <a href="/A284944/b284944.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-> 011110 -> 01111011101110111001->
%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 1, 1, 0}}] &, {0}, 6] (* A284944 *)
%t Flatten[Position[s, 0]] (* A284945 *)
%t Flatten[Position[s, 1]] (* A284946 *)
%Y Cf. A284945, A284946.
%K nonn,easy
%O 1
%A _Clark Kimberling_, Apr 18 2017