login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A092606
Fixed point of the morphism 0 -> 021, 1 -> 0, 2 -> 0; starting with a(1) = 0.
5
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,2
COMMENTS
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
FORMULA
a(n) = 0 for n in A003156; a(n) = 1 for n in A003157; a(n) = 2 for n in A003158.
MATHEMATICA
Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 2, 1}, 1 -> {0}, 2 -> {0}})]}], {0}, 6] (* Robert G. Wilson v, Mar 03 2005 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Philippe Deléham, Apr 11 2004
STATUS
approved