The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071928 Kolakoski-(2,4) sequence: a(n) is length of n-th run. 7

%I #16 Mar 05 2020 23:56:04

%S 2,2,4,4,2,2,2,2,4,4,4,4,2,2,4,4,2,2,4,4,2,2,2,2,4,4,4,4,2,2,2,2,4,4,

%T 4,4,2,2,4,4,2,2,2,2,4,4,4,4,2,2,4,4,2,2,2,2,4,4,4,4,2,2,4,4,2,2,4,4,

%U 2,2,2,2,4,4,4,4,2,2,2,2,4,4,4,4,2,2,4,4,2,2,4,4,2,2,2,2,4,4,4,4,2,2,2,2,4

%N Kolakoski-(2,4) sequence: a(n) is length of n-th run.

%H Ivan Neretin, <a href="/A071928/b071928.txt">Table of n, a(n) for n = 1..10000</a>

%H Michael Baake and Bernd Sing, <a href="http://arxiv.org/abs/math/0206098">Kolakoski-(3,1) is a (deformed) model set</a>, arXiv:math/0206098 [math.MG], 2002-2003.

%H B. Sing, <a href="http://arxiv.org/abs/math-ph/0207037">Kolakoski-(2m,2n) are limit-periodic model sets</a>, arXiv:math-ph/0207037, 2002-2003.

%t seed = {2, 4}; w = {}; i = 1; Do[w = Join[w,Array[seed[[Mod[i - 1, Length[seed]] + 1]] &, If[i > Length[w], seed, w][[i]]]]; i++, {n, 36}]; w (* _Ivan Neretin_, Apr 02 2015 *)

%Y Cf. A000002, A071820, A071907, A064353, A071942.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_

%E More terms from Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), Sep 08 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 5 22:26 EDT 2024. Contains 373110 sequences. (Running on oeis4.)