%I #9 Nov 22 2017 01:15:05
%S 2,4,5,8,10,14,17,24,28,38,45,60,70,92,107,141,163,214,248,324,375,
%T 489,565,736,850,1107,1278,1663,1920,2495,2880,3742,4317,5612,6474,
%U 8415,9710,12626,14567,18941,21857,28415,32789,42629,49187,63953,73793,95944,110710,143946,166097
%N Lengths of complete iterations (direct and reverse branches) of the Kolakoski sequence A000002.
%C See comments in A249507 for a description of iterated words in the Kolakoski sequence.
%H Jean-Christophe Hervé, <a href="/A249508/b249508.txt">Table of n, a(n) for n = 1..65</a>
%F a(2n+1) = A054352(n+1) + A054352(n) - 1;
%F a(2n+2) = A054352(n+2) + A054352(n) - 1.
%e The OK sequence begins as (highlighting an iteration of length 10): 122112-1221221121-1221211.., where iterations of length 2, 4, 5 and 8 can also be seen.
%Y Cf. A000002, A054351, A054352, A249093, A249094, A249507.
%K nonn
%O 1,1
%A _Jean-Christophe Hervé_, Oct 30 2014
|