cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A092606 Fixed point of the morphism 0 -> 021, 1 -> 0, 2 -> 0; starting with a(1) = 0.

Original entry on oeis.org

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

Views

Author

Philippe Deléham, Apr 11 2004

Keywords

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

Crossrefs

Programs

  • Mathematica
    Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 2, 1}, 1 -> {0}, 2 -> {0}})]}], {0}, 6] (* Robert G. Wilson v, Mar 03 2005 *)

Formula

a(n) = 0 for n in A003156; a(n) = 1 for n in A003157; a(n) = 2 for n in A003158.