A375140 Number of integer compositions of n whose leaders of weakly increasing runs are not strictly decreasing.
0, 0, 0, 1, 3, 10, 26, 65, 151, 343, 750, 1614, 3410, 7123, 14724, 30220, 61639, 125166, 253233, 510936, 1028659, 2067620, 4150699, 8324552, 16683501, 33417933, 66910805, 133931495, 268023257, 536279457, 1072895973, 2146277961, 4293254010, 8587507415
Offset: 1
Keywords
Examples
The a(1) = 0 through a(6) = 10 compositions: . . . (121) (131) (132) (1121) (141) (1211) (1131) (1212) (1221) (1311) (2121) (11121) (11211) (12111)
Links
- Wikipedia, Permutation pattern.
- Gus Wiseman, Sequences counting and ranking compositions by their leaders (for six types of runs).
Crossrefs
For leaders of identical runs we have A056823.
The complement is counted by A188920.
For leaders of weakly decreasing runs we have the complement of A374746.
A106356 counts compositions by number of maximal anti-runs.
A238424 counts partitions whose first differences are an anti-run.
A011782 counts compositions.
A335456 counts patterns matched by compositions.
A374637 counts compositions by sum of leaders of weakly increasing runs.
Programs
Formula
a(n) = 2^(n-1) - A188920(n).
Comments