login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A365836
a(1)=1; thereafter extend the sequence by appending its nonincreasing run transform, recompute the nonincreasing run transform, append it, and so on.
2
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,3
COMMENTS
The nonincreasing run transform replaces each run of weakly decreasing terms with a single value which is the length of that run.
LINKS
EXAMPLE
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
Sequence in context: A160735 A216338 A227725 * A331244 A316845 A120481
KEYWORD
nonn,tabf
AUTHOR
Neal Gersh Tolunsky, Sep 19 2023
STATUS
approved