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.

A365836 a(1)=1; thereafter extend the sequence by appending its nonincreasing run transform, recompute the nonincreasing run transform, append it, and so on.

Original entry on oeis.org

1, 1, 2, 2, 1, 2, 3, 2, 3, 1, 1, 2, 3, 1, 2, 3, 2, 3, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 3, 1, 2, 1, 2, 2, 1, 2, 3, 2, 3, 1, 2, 3, 1, 2, 1, 2, 2, 1, 2, 3, 1, 2, 1, 2, 2, 3, 1, 1, 2, 3, 1, 2, 3, 1, 2, 1, 2, 2, 1, 2, 3, 1, 2, 1, 2, 2, 3, 1, 2, 2, 1, 2, 2, 3, 1, 2, 2, 2, 3, 2, 3, 1, 2, 3, 1, 2, 1, 2, 2
Offset: 1

Views

Author

Neal Gersh Tolunsky, Sep 19 2023

Keywords

Comments

The nonincreasing run transform replaces each run of weakly decreasing terms with a single value which is the length of that run.

Examples

			Irregular triangle in which each row (after the initial 1) is the nonincreasing run transform of the concatenation of the previous rows:
  1;
  1;
  2;
  2, 1;
  2, 3;
  2, 3, 1, 1;
  2, 3, 1, 2, 3;
  2, 3, 1, 2, 3, 1, 2, 1, 1;
  2, 3, 1, 2, 3, 1, 2, 1, 2, 2, 1, 2, 3;
  2, 3, 1, 2, 3, 1, 2, 1, 2, 2, 1, 2, 3, 1, 2, 1, 2, 2, 3, 1, 1;
  ...
		

Crossrefs