login
Position of the first occurrence of n consecutive terms with the largest possible sum in the Kolakoski sequence (A000002).
3

%I #10 Feb 06 2022 21:28:35

%S 2,2,1,6,8,6,6,2,1,2,2,1,33,53,33,6,50,2,72,74,72,72,296,295,33,293,

%T 74,324,35,296,33,35,33,33,32,2261,30,53,52,53,53,52,276,50,33,273,

%U 296,53,296,2883,330,33,296,295,296,296,295,33,35,33,33,32,324,30,278,35,276

%N Position of the first occurrence of n consecutive terms with the largest possible sum in the Kolakoski sequence (A000002).

%C The sequence of maximal sums begins 2, 4, 5, 7, 9, 10, 12, 13, 14, 16, 18, 19, 21, 23, 24, 25, 27, 28, 30, ...

%H Hakan Icoz, <a href="/A074297/b074297.txt">Table of n, a(n) for n = 1..200</a>

%e a(4)=6 because the Kolakoski sequence starting at position 6 is 2, 1, 2, 2 which sums to 7, which is the largest possible sum of 4 consecutive terms.

%Y Cf. A000002, A074296, A074298.

%K nonn

%O 1,1

%A _Jon Perry_, Sep 21 2002

%E a(8)-a(15) from and edited by _Nathaniel Johnston_, May 02 2011

%E More terms from _Hakan Icoz_, Jan 01 2022