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

%I #35 Nov 03 2023 23:32:33

%S 3,12,93,378,471,6352,6969,7176,7269,7566,7971,20338,20371,21982,

%T 22009,25638,25665,25692,27969,39184,39211,42398,43129,43150,48637,

%U 48730,48757,49014,49041,49068,49095,49864,50081,50090,50387,50414,50959,51344,52243

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

%H A.H.M. Smeets, <a href="/A025503/b025503.txt">Table of n, a(n) for n = 1..7902</a>

%Y Cf. A000002, A022327 (more 1's than 2's).

%K nonn

%O 1,1

%A _David W. Wilson_