login
A365838
a(1)=2; thereafter extend the sequence by appending its nondecreasing run transform, recompute the nondecreasing run transform, append it, and so on.
2
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,1
COMMENTS
The nondecreasing run transform replaces each run of weakly increasing terms with a single value which is the length of that run.
LINKS
EXAMPLE
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
Sequence in context: A237983 A335977 A334055 * A254613 A129265 A030358
KEYWORD
nonn,tabf
AUTHOR
Neal Gersh Tolunsky, Sep 20 2023
STATUS
approved