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.

A188512 Lengths of successive runs of identical terms in A188511.

Original entry on oeis.org

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

Views

Author

N. J. A. Sloane, Apr 02 2011

Keywords

Comments

A correspondent asked if this sequence was (apart from the initial terms) the same as the Fibonacci word A003842. It is not.
Period 7: repeat [2, 1, 2, 1, 2, 1, 1]. - Paolo Xausa, Jan 09 2025

Crossrefs

Programs

  • Mathematica
    PadRight[{}, 100, {2, 1, 2, 1, 2, 1, 1}] (* Paolo Xausa, Jan 08 2025 *)

Formula

G.f.: (2 + x + 2*x^2 + x^3 + 2*x^4 + x^5 + x^6)/(1 - x^7). - Stefano Spezia, Jan 29 2025