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.

A103269 Apply the tribonacci morphism 1 -> {1, 2}, 2 -> {1, 3}, 3 -> {1} n times to 1, and concatenate the resulting string.

Original entry on oeis.org

1, 12, 1213, 1213121, 1213121121312, 121312112131212131211213, 12131211213121213121121312131211213121213121, 121312112131212131211213121312112131212131211213121121312121312112131213121121312
Offset: 0

Views

Author

Keywords

Comments

The number of letters in the n-th iteration is tribonacci(n+3) (that is, A000073(n+3)).

Crossrefs

A092782 is limit of these strings.

Programs

  • Mathematica
    FromDigits /@ NestList[ Flatten[ # /. {1 -> {1, 2}, 2 -> {1, 3}, 3 -> 1}] &, {1}, 7]
    (* Second program: *)
    FromDigits /@ SubstitutionSystem[{1 -> {1, 2}, 2 -> {1, 3}, 3 -> {1}}, {1}, 7] (* Jean-François Alcover, Nov 12 2018 *)

Extensions

Definition edited by N. J. A. Sloane, Aug 06 2018