login
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