OFFSET
0,11
COMMENTS
Also the number of integer compositions of n whose leaders of maximal weakly increasing runs are not weakly decreasing and whose reverse satisfies the same condition.
LINKS
EXAMPLE
The a(0) = 0 through a(11) = 21 compositions:
. . . . . . . . . (12321) (1342) (1352)
(2431) (2531)
(12421) (11342)
(13231) (12431)
(112321) (12521)
(123211) (13241)
(13421)
(14231)
(23132)
(24311)
(112421)
(113231)
(122321)
(123212)
(123221)
(124211)
(132311)
(212321)
(1112321)
(1123211)
(1232111)
MATHEMATICA
Table[Length[Select[Join@@Permutations/@IntegerPartitions[n], MatchQ[#, {___, y_, z_, ___, x_, ___}/; x<y<z]&&MatchQ[#, {___, x_, ___, z_, y_, ___}/; x<y<z]&]], {n, 0, 15}]
CROSSREFS
For leaders of identical runs we have A332834.
These compositions are ranked by A375407.
A011782 counts compositions.
A106356 counts compositions by number of maximal anti-runs.
A335456 counts patterns matched by compositions.
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Aug 23 2024
STATUS
approved