login
Least k>1 such that complement of first n terms of Kolakoski sequence (A000002) repeats beginning at k-th term.
1

%I #7 Mar 12 2020 10:55:56

%S 2,3,3,3,15,15,15,15,15,15,15,123,123,123,123,123,123,123,123,123,123,

%T 123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,

%U 123,123,123,123,123,691,691,691,691,691,691,691,691,691,691,691,691,691,691

%N Least k>1 such that complement of first n terms of Kolakoski sequence (A000002) repeats beginning at k-th term.

%H Rémy Sigrist, <a href="/A022296/b022296.txt">Table of n, a(n) for n = 1..10000</a>

%H Rémy Sigrist, <a href="/A022296/a022296.txt">C program for A022296</a>

%o (C) See Links section.

%Y Cf. A000002, A022294.

%K nonn

%O 1,1

%A _Clark Kimberling_