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.

Showing 1-1 of 1 results.

A285202 A285200 displayed as an irregular triangle read by rows.

Original entry on oeis.org

1, 1, 2, 1, 1, 2, 3, 2, 1, 1, 2, 3, 2, 1, 1, 2, 3, 4, 3, 2, 1, 1, 2, 3, 2, 1, 1, 2, 3, 4, 3, 2, 1, 1, 2, 3, 2, 1, 1, 2, 3, 4, 3, 2, 1, 1, 2, 3, 2, 1, 1, 2, 3, 4, 5, 4, 3, 2, 1, 1, 2, 3, 2, 1, 1, 2, 3, 4, 3, 2, 1, 1, 2, 3, 2, 1, 1, 2, 3, 4, 3, 2, 1, 1, 2, 3, 2, 1, 1, 2, 3, 4, 5, 4, 3, 2, 1
Offset: 0

Views

Author

N. J. A. Sloane, May 03 2017

Keywords

Comments

This is Ken Knowlton's elevator sequence A285200, but with an extra 1 each time the elevator returns to (or starts at) the first floor.
Row lengths are A285204. The row maxima are given in A285203 (for n>0).

Examples

			Triangle begins:
1,
1, 2, 1,
1, 2, 3, 2, 1,
1, 2, 3, 2, 1,
1, 2, 3, 4, 3, 2, 1,
1, 2, 3, 2, 1,
1, 2, 3, 4, 3, 2, 1,
1, 2, 3, 2, 1,
1, 2, 3, 4, 3, 2, 1,
1, 2, 3, 2, 1,
1, 2, 3, 4, 5, 4, 3, 2, 1,
...
		

Crossrefs

Showing 1-1 of 1 results.