login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A347697
a(n) = max_{k <= n} A347696(k).
2
0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11
OFFSET
0,5
COMMENTS
The n-th run of consecutive equal terms appears to have length A137688(n). - Rémy Sigrist, Oct 11 2021
PROG
(C) See Links section.
CROSSREFS
Sequence in context: A197637 A235492 A226762 * A300763 A359276 A002265
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 11 2021
EXTENSIONS
More terms from Rémy Sigrist, Oct 11 2021
STATUS
approved