cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A379880 a(n) is the length of the n-th maximum run of consecutive terms of A377091 in arithmetic progression with common difference 1 or -1.

Original entry on oeis.org

3, 2, 3, 2, 3, 4, 4, 1, 4, 6, 1, 4, 6, 1, 3, 2, 3, 1, 8, 4, 9, 1, 4, 3, 9, 1, 9, 11, 1, 9, 11, 1, 3, 2, 3, 2, 3, 1, 13, 1, 1, 4, 3, 14, 1, 4, 8, 14, 1, 1, 2, 3, 8, 16, 1, 1, 2, 3, 8, 16, 1, 16, 18, 1, 16, 18, 1, 3, 2, 3, 2, 3, 2, 3, 19, 1, 4, 15, 21, 1, 4, 15
Offset: 1

Views

Author

Rémy Sigrist, Jan 05 2025

Keywords

Comments

Since the terms in A377091 are required to be distinct, in this arithmetic progression the differences are either all +1 or all -1. - N. J. A. Sloane, Jan 20 2025

Examples

			A377091 begins:
    0, 1, 2, -2, -1, 3, 4, 5, -4, -3, 6, 7, 8, -8, -7, -6, -5, -9.
So the present sequence begins:
    3,       2,      3,       2,      3,       4.
		

Crossrefs

Cf. A377091, A380223 (positions of ones).

Programs