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.

A187199 Parse the Kolakoski sequence A000002 into distinct phrases 1, 2, 21, 12, 122, 1221, 121, 12212, 11, ...; a(n) = length of n-th phrase.

This page as a plain text file.
%I A187199 #15 Nov 04 2024 12:51:03
%S A187199 1,1,2,2,3,4,3,5,2,3,3,4,6,3,6,4,2,5,4,6,4,3,5,7,4,5,7,5,4,6,6,5,5,6,
%T A187199 6,4,8,5,5,9,10,7,9,8,7,5,8,11,5,6,6,7,8,7,6,6,7,7,7,9,4,4,8,8,10,5,7,
%U A187199 8,7,9,8,12,6,10,6,8,6,10,7,9,9,8,7,8,7,9,8,7,8,8,9,9,10,8,10,9,8,11,5,6
%N A187199 Parse the Kolakoski sequence A000002 into distinct phrases 1, 2, 21, 12, 122, 1221, 121, 12212, 11, ...; a(n) = length of n-th phrase.
%H A187199 Rémy Sigrist, <a href="/A187199/b187199.txt">Table of n, a(n) for n = 1..10000</a>
%H A187199 Rémy Sigrist, <a href="/A187199/a187199.gp.txt">PARI program</a>
%o A187199 (PARI) \\ See Links section.
%Y A187199 Cf. A000002, A007782, A109337, A187180-A187188, A187200.
%K A187199 nonn
%O A187199 1,3
%A A187199 _N. J. A. Sloane_, Mar 06 2011