OFFSET
0,3
COMMENTS
A sequence (y_1, ..., y_k) is superdiagonal iff y_i >= i for all i = 1..k.
EXAMPLE
The multiset y = {1,1,1,3,3} has run-lengths (3,2), which are superdiagonal, so y is counted under a(9).
The multiset y = {1,2,2,3} has run-lengths (1,2,1), which are not superdiagonal, so y is not counted under a(8).
The a(1) = 1 through a(9) = 8 multisets:
1 2 3 4 5 6 7 8 9
11 111 22 122 33 133 44 144
1111 11111 222 1222 233 333
1122 11122 1133 11133
111111 1111111 2222 12222
11222 111222
111122 1111122
11111111 111111111
MATHEMATICA
suppQ[mset_]:=And@@Table[mset[[i]]>=i, {i, Length[mset]}];
Table[Length[Select[Reverse/@IntegerPartitions[n], suppQ[Length/@Split[#]]&]], {n, 0, 10}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 22 2025
STATUS
approved
