

A088939


Runs are reduced to one term in A088936.


4



1, 2, 3, 2, 4, 3, 4, 2, 5, 4, 5, 4, 5, 3, 5, 4, 5, 2, 6, 5, 6, 5, 6, 5, 6, 4, 6, 5, 6, 5, 6, 5, 6, 4, 6, 5, 6, 5, 6, 3, 6, 5, 6, 5, 6, 5, 6, 4, 6, 5, 6, 2, 7, 6, 7, 6, 7, 6, 7, 6, 7, 5, 7, 6, 7, 6, 7, 6, 7, 6, 7, 5, 7, 6, 7, 6, 7, 6, 7, 6, 7
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS

Table of n, a(n) for n=1..81.


FORMULA

Is sum(k=1, n, a(k)) asymptotic to c*n*log(n) for some c?


EXAMPLE

A run of 5 7's ...6,7, 7, 7, 7, 7,6,... is replaced by its
own value 7 which gives ...6,7,6,...


CROSSREFS

Cf. A088936, A088937, A088938, A088940 (partial sums).
Sequence in context: A316714 A135817 A122060 * A004596 A118653 A173753
Adjacent sequences: A088936 A088937 A088938 * A088940 A088941 A088942


KEYWORD

nonn


AUTHOR

Benoit Cloitre, Oct 25 2003


STATUS

approved



