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.

A106750 Define the "Fibonacci" morphism f: 1->12, 2->1 and let a(0) = 2; then a(n+1) = f(a(n)).

Original entry on oeis.org

2, 1, 12, 121, 12112, 12112121, 1211212112112, 121121211211212112121, 1211212112112121121211211212112112, 1211212112112121121211211212112112121121211211212112121
Offset: 0

Views

Author

N. J. A. Sloane, May 16 2005. Initial term 2 added by N. J. A. Sloane, Jul 05 2012

Keywords

Comments

a(n) converges to the Fibonacci word A003842.
a(n) has length Fibonacci(n+1) (cf. A000045).

References

  • Berstel, Jean. "Fibonacci words—a survey." In The book of L, pp. 13-27. Springer Berlin Heidelberg, 1986.
  • E. Bombieri and J. Taylor, Which distribution of matter diffracts? An initial investigation, in International Workshop on Aperiodic Crystals (Les Houches, 1986), J. de Physique, Colloq. C3, 47 (1986), C3-19 to C3-28.

Crossrefs

Programs

  • Mathematica
    FromDigits /@ NestList[ Flatten[ # /. {1 -> {1, 2}, 2 -> 1}] &, {2}, 8] (* Robert G. Wilson v, May 17 2005 *)

Extensions

More terms from Robert G. Wilson v, May 17 2005