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.

A248806 Number of 2's separating successive 1's in the Kolakoski sequence A000002.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

Without the zeros, this sequence is equal to the bisection of the Kolakoski sequence A100429 = lengths of runs of 2's in OK sequence.
The Oldenburger-Kolakovski sequence can be obtained back (except the initial 1) by the following substitution rules: insert 1 between two successive nonzero values and 0 -> 11, 1 -> 2, 2 -> 22.

Crossrefs