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.

A071820 Kolakoski-(2,3) sequence: a(n) is length of n-th run.

This page as a plain text file.
%I A071820 #17 Jul 25 2023 10:12:46
%S A071820 2,2,3,3,2,2,2,3,3,3,2,2,3,3,2,2,3,3,3,2,2,2,3,3,3,2,2,3,3,2,2,2,3,3,
%T A071820 3,2,2,3,3,2,2,2,3,3,3,2,2,2,3,3,2,2,3,3,2,2,2,3,3,3,2,2,2,3,3,2,2,3,
%U A071820 3,3,2,2,2,3,3,2,2,3,3,2,2,2,3,3,3,2,2,2,3,3,2,2,3,3,3,2,2,2,3,3,2,2,3,3,2
%N A071820 Kolakoski-(2,3) sequence: a(n) is length of n-th run.
%H A071820 Ivan Neretin, <a href="/A071820/b071820.txt">Table of n, a(n) for n = 1..10000</a>
%H A071820 Michael Baake and Bernd Sing, <a href="http://arXiv.org/abs/math.MG/0206098">Kolakoski-(3,1) is a (deformed) model set</a>, arXiv:math/0206098 [math.MG], 2002-2003.
%H A071820 Johan Nilsson, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL15/Nilsson/nilsson5.html">A Space-Efficient Algorithm for Calculating the Digit Distribution in the Kolakoski Sequence</a>, J. Int. Seq. 15 (2012) #12.6.7.
%H A071820 Ulrich Reitebuch, Henriette-Sophie Lipschütz, and Konrad Polthier, <a href="https://archive.bridgesmathart.org/2023/bridges2023-481.html">Visualizing the Kolakoski Sequence</a>, Bridges Conf. Proc.; Math., Art, Music, Architecture, Culture (2023) 481-484.
%t A071820 seed = {2, 3};
%t A071820 w = {};
%t A071820 i = 1;
%t A071820 Do[
%t A071820   w = Join[w,
%t A071820     Array[seed[[Mod[i - 1, Length[seed]] + 1]] &,
%t A071820      If[i > Length[w], seed, w][[i]]]];
%t A071820   i++
%t A071820   , {n, 43}];
%t A071820 w
%t A071820 (* _Ivan Neretin_, Apr 01 2015 *)
%Y A071820 Cf. A000002, A064353, A071907, A071928, A071942.
%K A071820 nonn,easy
%O A071820 1,1
%A A071820 _N. J. A. Sloane_
%E A071820 More terms from Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), Sep 08 2002