A092606 Fixed point of the morphism 0 -> 021, 1 -> 0, 2 -> 0; starting with a(1) = 0.
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, 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, 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
Offset: 1
Programs
-
Mathematica
Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 2, 1}, 1 -> {0}, 2 -> {0}})]}], {0}, 6] (* Robert G. Wilson v, Mar 03 2005 *)
Comments