%I #19 Apr 02 2015 23:40:58
%S 3,3,3,4,4,4,3,3,3,4,4,4,4,3,3,3,3,4,4,4,4,3,3,3,4,4,4,3,3,3,4,4,4,4,
%T 3,3,3,3,4,4,4,4,3,3,3,3,4,4,4,3,3,3,4,4,4,3,3,3,4,4,4,4,3,3,3,3,4,4,
%U 4,4,3,3,3,3,4,4,4,3,3,3,4,4,4,3,3,3,3,4,4,4,4,3,3,3,3,4,4,4,3,3,3,4,4,4,3
%N Kolakoski-(3,4) sequence: a(n) is length of n-th run.
%H Ivan Neretin, <a href="/A071942/b071942.txt">Table of n, a(n) for n = 1..10000</a>
%H 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.
%t seed = {3, 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, 31}]; w (* _Ivan Neretin_, Apr 02 2015 *)
%Y Cf. A000002, A071820, A071907, A071928, A064353.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_
%E More terms from _Benoit Cloitre_, Feb 17 2003
|