login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A248806
Number of 2's separating successive 1's in the Kolakoski sequence A000002.
2
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,1
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.
LINKS
Jean-Christophe Hervé, Table of n, a(n) for n = 1..4995
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved