%I #10 Oct 01 2016 20:53:31
%S 0,2,1,0,0,0,2,1,0,2,1,0,2,1,0,0,0,2,1,0,0,0,2,1,0,0,0,2,1,0,2,1,0,2,
%T 1,0,0,0,2,1,0,2,1,0,2,1,0,0,0,2,1,0,2,1,0,2,1,0,0,0,2,1,0,0,0,2,1,0,
%U 0,0,2,1,0,2,1,0,2,1,0,0,0,2,1,0,0,0,2,1,0,0,0,2,1,0,2,1,0,2,1,0,0,0,2,1,0
%N Fixed point of the morphism 0 -> 021, 1 -> 0, 2 -> 0; starting with a(1) = 0.
%C To construct the sequence, start from the Feigenbaum sequence A035263 = 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, ..., then change 0 -> 2, 1 and 1 -> 0. - _Philippe Deléham_, Apr 12 2004
%H <a href="/index/Fi#FIXEDPOINTS">Index entries for sequences that are fixed points of mappings</a>
%F a(n) = 0 for n in A003156; a(n) = 1 for n in A003157; a(n) = 2 for n in A003158.
%t Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 2, 1}, 1 -> {0}, 2 -> {0}})]}], {0}, 6] (* _Robert G. Wilson v_, Mar 03 2005 *)
%Y Cf. A003156, A003157, A003158.
%K easy,nonn
%O 1,2
%A _Philippe Deléham_, Apr 11 2004
|