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.

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

Original entry on oeis.org

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

Views

Author

Neal Gersh Tolunsky, Sep 20 2023

Keywords

Comments

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

Examples

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

Crossrefs

Showing 1-1 of 1 results.