A374699 Number of integer compositions of n whose leaders of maximal anti-runs are not weakly decreasing.
0, 0, 0, 0, 0, 1, 2, 5, 14, 34, 78, 180, 407, 907, 2000, 4364, 9448, 20323, 43448, 92400, 195604, 412355, 866085, 1813035, 3783895, 7875552
Offset: 0
Examples
The a(0) = 0 through a(8) = 14 compositions: . . . . . (122) (1122) (133) (233) (1221) (1222) (1133) (11122) (1223) (11221) (1322) (12211) (1331) (11222) (12122) (12212) (12221) (21122) (111122) (111221) (112211) (122111)
Links
Crossrefs
The complement is counted by A374682.
Other types of runs (instead of anti-):
- For leaders of identical runs we have A056823.
Other types of run-leaders (instead of weakly decreasing):
- For weakly increasing leaders we have complement A374681.
- For strictly increasing leaders we have complement complement A374679.
- For strictly decreasing leaders we have complement A374680.
A106356 counts compositions by number of maximal anti-runs.
A238279 counts compositions by number of maximal runs
A238424 counts partitions whose first differences are an anti-run.
A333381 counts maximal anti-runs in standard compositions.
Programs
-
Mathematica
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],!GreaterEqual@@First/@Split[#,UnsameQ]&]],{n,0,15}]
Comments