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.

A103682 Trajectory of 1 under repeated applications of the morphism 1-> {1,2}, 2->{1,2,3}, 3->{1,1,3}.

Original entry on oeis.org

1, 1, 2, 1, 2, 1, 2, 1, 2, 3, 1, 2, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 1, 3, 1, 2, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 1, 3, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 1, 3, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 1, 3, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 1, 3, 1
Offset: 1

Views

Author

Roger L. Bagula, Mar 26 2005

Keywords

Crossrefs

Cf. A073058.

Programs

  • Mathematica
    s[1] = {1, 2}; s[2] = {1, 2, 3}; s[3] = {1, 1, 3}; t[a_] := Join[a, Flatten[s /@ a]]; a = t[t[t[t[t[{1}]]]]]