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.

A105103 A bi-Rauzy Pisot substitution.

Original entry on oeis.org

1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 6, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 6, 1, 2, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 6, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 6, 1, 2, 1, 3, 1, 2, 6, 1, 2, 1, 3, 1
Offset: 0

Views

Author

Roger L. Bagula, Apr 07 2005

Keywords

Crossrefs

Programs

  • Mathematica
    s[1] = {1, 2}; s[2] = {1, 3}; s[3] = {6}; s[4] = {4, 5}; s[5] = {4, 6}; s[6] = {1}; t[a_] := Join[a, Flatten[s /@ a]]; p[0] = {1}; p[1] = t[{1}]; p[n_] := t[p[n - 1]] aa = Flatten[Table[p[n], {n, 0, 6}]]

Formula

1->{1, 2} 2->{1, 3} 3->6 4->{4, 5} 5->{4, 6) 6->1