login
Least k such that the first k terms of the Kolakoski sequence (A000002) contain n more 1's than 2's.
3

%I #19 Nov 03 2023 05:31:06

%S 1,32,257,798,825,858,1127,1398,1497,1524,1533,193140,193173,194036,

%T 194045,195378,196371,196380,198571,198634,199149,199554,199861,

%U 200286,201759,201786,201795,205330,205687,205714,205807,206032,206065,206092

%N Least k such that the first k terms of the Kolakoski sequence (A000002) contain n more 1's than 2's.

%H A.H.M. Smeets, <a href="/A022327/b022327.txt">Table of n, a(n) for n = 1..10169</a>

%Y Cf. A000002, A088568.

%Y Cf. A025503 (2's over 1's).

%K nonn

%O 1,2

%A _Clark Kimberling_