A374761
Number of integer compositions of n whose leaders of strictly decreasing runs are distinct.
Original entry on oeis.org
1, 1, 1, 3, 5, 7, 13, 27, 45, 73, 117, 205, 365, 631, 1061, 1711, 2777, 4599, 7657, 12855, 21409, 35059, 56721, 91149, 146161, 234981, 379277, 612825, 988781, 1587635, 2533029, 4017951, 6342853, 9985087, 15699577, 24679859, 38803005, 60979839, 95698257, 149836255
Offset: 0
The composition (3,1,4,3,2,1,2,8) has strictly decreasing runs ((3,1),(4,3,2,1),(2),(8)), with leaders (3,4,2,8), so is counted under a(24).
The a(0) = 1 through a(6) = 13 compositions:
() (1) (2) (3) (4) (5) (6)
(12) (13) (14) (15)
(21) (31) (23) (24)
(121) (32) (42)
(211) (41) (51)
(131) (123)
(311) (132)
(141)
(213)
(231)
(312)
(321)
(411)
For identical instead of distinct leaders we have
A374760, ranks
A374759.
For partitions instead of compositions we have
A375133.
Other types of runs:
- For leaders of identical runs we have
A000005 for n > 0, ranks
A272919.
Other types of run-leaders:
- For strictly increasing leaders we have
A374762.
- For strictly decreasing leaders we have
A374763.
- For weakly increasing leaders we have
A374764.
- For weakly decreasing leaders we have
A374765.
A374700 counts compositions by sum of leaders of strictly increasing runs.
Cf.
A034296,
A106356,
A188920,
A189076,
A238343,
A333213,
A374517,
A374631,
A374640,
A374686,
A374742.
-
Table[Length[Select[Join @@ Permutations/@IntegerPartitions[n],UnsameQ@@First/@Split[#,Greater]&]],{n,0,15}]
-
dfs(m, r, v) = 1 + sum(s=r, m, if(!setsearch(v, s), dfs(m-s, s, setunion(v, [s]))*x^s + sum(t=1, min(s-1, m-s), dfs(m-s-t, t, setunion(v, [s]))*x^(s+t)*prod(i=t+1, s-1, 1+x^i))));
lista(nn) = Vec(dfs(nn, 1, []) + O(x^(1+nn))); \\ Jinyuan Wang, Feb 13 2025
A374760
Number of integer compositions of n whose leaders of strictly decreasing runs are identical.
Original entry on oeis.org
1, 1, 2, 3, 4, 6, 8, 11, 15, 21, 28, 38, 52, 70, 95, 129, 173, 234, 318, 428, 579, 784, 1059, 1433, 1942, 2630, 3564, 4835, 6559, 8902, 12094, 16432, 22340, 30392, 41356, 56304, 76692, 104499, 142448, 194264, 265015, 361664, 493749, 674278, 921113, 1258717
Offset: 0
The composition (3,3,2,1,3,2,1) has strictly decreasing runs ((3),(3,2,1),(3,2,1)), with leaders (3,3,3), so is counted under a(15).
The a(0) = 1 through a(8) = 15 compositions:
() (1) (2) (3) (4) (5) (6) (7) (8)
(11) (21) (22) (32) (33) (43) (44)
(111) (31) (41) (42) (52) (53)
(1111) (212) (51) (61) (62)
(221) (222) (313) (71)
(11111) (321) (331) (323)
(2121) (421) (332)
(111111) (2122) (431)
(2212) (521)
(2221) (2222)
(1111111) (3131)
(21212)
(21221)
(22121)
(11111111)
For partitions instead of compositions we have
A034296.
Other types of runs (instead of strictly decreasing):
- For leaders of identical runs we have
A000005 for n > 0, ranks
A272919.
Other types of run-leaders (instead of identical):
- For strictly increasing leaders we have
A374762.
- For strictly decreasing leaders we have
A374763.
- For weakly increasing leaders we have
A374764.
- For weakly decreasing leaders we have
A374765.
Cf.
A000009,
A106356,
A188920,
A189076,
A238343,
A261982,
A333213,
A374632,
A374634,
A374635,
A374640,
A374761.
-
Table[Length[Select[Join @@ Permutations/@IntegerPartitions[n],SameQ@@First/@Split[#,Greater]&]],{n,0,15}]
-
seq(n) = Vec(1 + sum(k=1, n, 1/(1 - x^k*prod(j=1, min(n-k,k-1), 1 + x^j, 1 + O(x^(n-k+1))))-1)) \\ Andrew Howroyd, Jul 31 2024
A374697
Number of integer compositions of n whose leaders of strictly increasing runs are weakly decreasing.
Original entry on oeis.org
1, 1, 2, 4, 8, 15, 29, 55, 103, 193, 360, 669, 1239, 2292, 4229, 7794, 14345, 26375, 48452, 88946, 163187, 299250, 548543, 1005172, 1841418, 3372603, 6175853, 11307358, 20699979, 37890704, 69351776, 126926194, 232283912, 425075191, 777848212, 1423342837, 2604427561
Offset: 0
The composition (1,2,1,3,2,3) has strictly increasing runs ((1,2),(1,3),(2,3)), with leaders (1,1,2), so is not counted under a(12).
The a(0) = 1 through a(5) = 15 compositions:
() (1) (2) (3) (4) (5)
(11) (12) (13) (14)
(21) (22) (23)
(111) (31) (32)
(112) (41)
(121) (113)
(211) (131)
(1111) (212)
(221)
(311)
(1112)
(1121)
(1211)
(2111)
(11111)
Ranked by positions of weakly decreasing rows in
A374683.
Types of runs (instead of strictly increasing):
- For leaders of identical runs we have
A000041.
- For leaders of anti-runs we have
A374682.
- For leaders of weakly increasing runs we have
A189076, complement
A374636.
- For leaders of weakly decreasing runs we have
A374747.
- For leaders of strictly decreasing runs we have
A374765.
Types of run-leaders (instead of weakly decreasing):
- For weakly increasing leaders we have
A374690.
- For strictly increasing leaders we have
A374688.
- For strictly decreasing leaders we have
A374689.
A335456 counts patterns matched by compositions.
A374700 counts compositions by sum of leaders of strictly increasing runs.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],GreaterEqual@@First/@Split[#,Less]&]],{n,0,15}]
-
seq(n) = Vec(1/prod(k=1, n, 1 - x^k*prod(j=k+1, n-k, 1 + x^j, 1 + O(x^(n-k+1))))) \\ Andrew Howroyd, Jul 31 2024
A374682
Number of integer compositions of n whose leaders of anti-runs are weakly decreasing.
Original entry on oeis.org
1, 1, 2, 4, 8, 15, 30, 59, 114, 222, 434, 844, 1641, 3189, 6192, 12020, 23320, 45213, 87624, 169744, 328684, 636221, 1231067, 2381269, 4604713, 8901664
Offset: 0
The a(0) = 1 through a(5) = 15 compositions:
() (1) (2) (3) (4) (5)
(11) (12) (13) (14)
(21) (22) (23)
(111) (31) (32)
(112) (41)
(121) (113)
(211) (131)
(1111) (212)
(221)
(311)
(1112)
(1121)
(1211)
(2111)
(11111)
For reversed partitions instead of compositions we have
A115029.
Other types of runs (instead of anti-):
- For leaders of identical runs we have
A000041.
- For leaders of weakly increasing runs we have
A189076, complement
A374636.
- For leaders of weakly decreasing runs we have
A374747.
- For leaders of strictly decreasing runs we have
A374765.
- For leaders of strictly increasing runs we have
A374697.
Other types of run-leaders (instead of weakly decreasing):
- For weakly increasing leaders we have
A374681.
- For strictly increasing leaders we have
A374679.
- For strictly decreasing leaders we have
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.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],GreaterEqual@@First/@Split[#,UnsameQ]&]],{n,0,15}]
A374747
Number of integer compositions of n whose leaders of weakly decreasing runs are themselves weakly decreasing.
Original entry on oeis.org
1, 1, 2, 3, 5, 8, 14, 24, 43, 76, 136, 242, 431, 764, 1353, 2387, 4202, 7376, 12918, 22567, 39338, 68421, 118765, 205743, 355756, 614038, 1058023, 1820029, 3125916, 5360659, 9179700, 15697559, 26807303, 45720739, 77881393, 132505599, 225182047, 382252310, 648187055
Offset: 0
The composition y = (3,2,1,2,2,1,2,5,1,1,1) has weakly decreasing runs ((3,2,1),(2,2,1),(2),(5,1,1,1)), with leaders (3,2,2,5), which are not weakly decreasing, so y is not counted under a(21).
The a(0) = 1 through a(6) = 14 compositions:
() (1) (2) (3) (4) (5) (6)
(11) (21) (22) (32) (33)
(111) (31) (41) (42)
(211) (212) (51)
(1111) (221) (222)
(311) (312)
(2111) (321)
(11111) (411)
(2112)
(2121)
(2211)
(3111)
(21111)
(111111)
Ranked by positions of weakly decreasing rows in
A374740, opposite
A374629.
Types of runs (instead of weakly decreasing):
- For leaders of identical runs we have
A000041.
- For leaders of weakly increasing runs we appear to have
A189076.
- For leaders of anti-runs we have
A374682.
- For leaders of strictly increasing runs we have
A374697.
- For leaders of strictly decreasing runs we have
A374765.
Types of run-leaders (instead of weakly decreasing):
- For weakly increasing leaders we appear to have
A188900.
- For strictly increasing leaders we have opposite
A374634.
- For strictly decreasing leaders we have
A374746.
A124765 counts weakly decreasing runs in standard compositions.
A335456 counts patterns matched by compositions.
A374748 counts compositions by sum of leaders of weakly decreasing runs.
Cf.
A000009,
A003242,
A106356,
A188920,
A238343,
A261982,
A333213,
A374630,
A374635,
A374636,
A374741.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],GreaterEqual@@First/@Split[#,GreaterEqual]&]],{n,0,15}]
-
dfs(m, r, u) = 1 + sum(s=r+1, min(m, u), x^s/(1-x^s) + sum(t=1, min(s-1, m-s), dfs(m-s-t, t, s)*x^(s+t)/prod(i=t, s, 1-x^i)));
lista(nn) = Vec(dfs(nn, 0, nn) + O(x^(1+nn))); \\ Jinyuan Wang, Feb 14 2025
A374762
Number of integer compositions of n whose leaders of strictly decreasing runs are strictly increasing.
Original entry on oeis.org
1, 1, 1, 3, 4, 6, 11, 18, 27, 41, 64, 98, 151, 229, 339, 504, 746, 1097, 1618, 2372, 3451, 5009, 7233, 10394, 14905, 21316, 30396, 43246, 61369, 86830, 122529, 172457, 242092, 339062, 473850, 660829, 919822, 1277935, 1772174, 2453151, 3389762, 4675660, 6438248
Offset: 0
The a(0) = 1 through a(7) = 18 compositions:
() (1) (2) (3) (4) (5) (6) (7)
(12) (13) (14) (15) (16)
(21) (31) (23) (24) (25)
(121) (32) (42) (34)
(41) (51) (43)
(131) (123) (52)
(132) (61)
(141) (124)
(213) (142)
(231) (151)
(321) (214)
(232)
(241)
(421)
(1213)
(1231)
(1321)
(2131)
For partitions instead of compositions we have
A000009.
The weak version appears to be
A188900.
Other types of runs (instead of strictly decreasing):
- For leaders of identical runs we have
A000041.
- For leaders of weakly increasing runs we have
A374634.
- For leaders of anti-runs we have
A374679.
Other types of run-leaders (instead of strictly increasing):
- For strictly decreasing leaders we have
A374763.
- For weakly increasing leaders we have
A374764.
- For weakly decreasing leaders we have
A374765.
A374700 counts compositions by sum of leaders of strictly increasing runs.
Cf.
A106356,
A188920,
A189076,
A238343,
A261982,
A333213,
A374518,
A374631,
A374632,
A374687,
A374742,
A374743.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],Less@@First/@Split[#,Greater]&]],{n,0,15}]
-
seq(n) = Vec(prod(k=1, n, 1 + x^k*prod(j=1, min(n-k,k-1), 1 + x^j, 1 + O(x^(n-k+1))))) \\ Andrew Howroyd, Jul 31 2024
A374763
Number of integer compositions of n whose leaders of strictly decreasing runs are themselves strictly decreasing.
Original entry on oeis.org
1, 1, 1, 2, 3, 4, 6, 10, 15, 22, 32, 47, 71, 106, 156, 227, 328, 473, 683, 986, 1421, 2040, 2916, 4149, 5882, 8314, 11727, 16515, 23221, 32593, 45655, 63810, 88979, 123789, 171838, 238055, 329187, 454451, 626412, 862164, 1184917, 1626124, 2228324, 3048982, 4165640, 5682847
Offset: 0
The composition (3,1,2,1,1) has strictly decreasing runs ((3,1),(2,1),(1)), with leaders (3,2,1), so is counted under a(8).
The a(0) = 1 through a(8) = 15 compositions:
() (1) (2) (3) (4) (5) (6) (7) (8)
(21) (31) (32) (42) (43) (53)
(211) (41) (51) (52) (62)
(311) (312) (61) (71)
(321) (322) (413)
(411) (412) (422)
(421) (431)
(511) (512)
(3121) (521)
(3211) (611)
(3212)
(3221)
(4121)
(4211)
(31211)
For partitions instead of compositions we have
A375133.
Other types of runs (instead of strictly decreasing):
- For leaders of identical runs we have
A000041.
- For leaders of weakly increasing runs we appear to have
A188920.
- For leaders of anti-runs we have
A374680.
- For leaders of strictly increasing runs we have
A374689.
- For leaders of weakly decreasing runs we have
A374746.
Other types of run-leaders (instead of strictly decreasing):
- For strictly increasing leaders we have
A374762.
- For weakly increasing leaders we have
A374764.
- For weakly decreasing leaders we have
A374765.
Cf.
A000009,
A106356,
A188900,
A238343,
A261982,
A333213,
A374518,
A374632,
A374635,
A374687,
A374742,
A374743.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],Greater@@First/@Split[#,Greater]&]],{n,0,15}]
-
seq(n)={ my(A=O(x*x^n), p=1+A, q=p, r=p); for(k=1, n\2, r += x^k*q; p *= 1 + x^k; q *= 1 + x^k*p); Vec(r + x^(n\2+1)*q/(1-x)) } \\ Andrew Howroyd, Dec 30 2024
A374764
Number of integer compositions of n whose leaders of strictly decreasing runs are weakly increasing.
Original entry on oeis.org
1, 1, 2, 4, 7, 13, 23, 40, 69, 118, 199, 333, 553, 911, 1492, 2428, 3928, 6323, 10129, 16151, 25646, 40560, 63905, 100332, 156995, 244877, 380803, 590479, 913100, 1408309, 2166671, 3325445, 5092283, 7780751, 11863546, 18052080, 27415291, 41556849, 62879053, 94975305, 143213145
Offset: 0
The composition (1,1,2,1) has strictly decreasing runs ((1),(1),(2,1)) with leaders (1,1,2) so is counted under a(5).
The composition (1,2,1,1) has strictly decreasing runs ((1),(2,1),(1)) with leaders (1,2,1) so is not counted under a(5).
The a(0) = 1 through a(5) = 13 compositions:
() (1) (2) (3) (4) (5)
(11) (12) (13) (14)
(21) (22) (23)
(111) (31) (32)
(112) (41)
(121) (113)
(1111) (122)
(131)
(212)
(221)
(1112)
(1121)
(11111)
For partitions instead of compositions we have
A034296.
For strictly increasing leaders we have
A374688.
Other types of runs (instead of strictly decreasing):
- For leaders of identical runs we have
A000041.
- For leaders of anti-runs we have
A374681.
- For leaders of weakly increasing runs we have
A374635.
- For leaders of strictly increasing runs we have
A374690.
- For leaders of weakly decreasing runs we have
A188900.
Other types of run-leaders (instead of weakly increasing):
- For strictly increasing leaders we have
A374762.
- For weakly decreasing leaders we have
A374765.
- For strictly decreasing leaders we have
A374763.
Cf.
A106356,
A188920,
A238343,
A261982,
A333213,
A374687,
A374679,
A374680,
A374742,
A374743,
A374747.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],LessEqual@@First/@Split[#,Greater]&]],{n,0,15}]
-
seq(n) = Vec(1/prod(k=1, n, 1 - x^k*prod(j=1, min(n-k,k-1), 1 + x^j, 1 + O(x^(n-k+1))))) \\ Andrew Howroyd, Jul 31 2024
A375135
Number of integer compositions of n whose leaders of maximal strictly increasing runs are not weakly decreasing.
Original entry on oeis.org
0, 0, 0, 0, 0, 1, 3, 9, 25, 63, 152, 355, 809, 1804, 3963, 8590, 18423, 39161, 82620, 173198, 361101, 749326, 1548609, 3189132, 6547190, 13404613, 27378579, 55801506, 113517749, 230544752, 467519136, 946815630, 1915199736, 3869892105, 7812086380, 15756526347
Offset: 0
The composition y = (1,2,1,3,2,3) has strictly increasing runs ((1,2),(1,3),(2,3)), with leaders (1,1,2), which are not weakly decreasing, so y is counted under a(12).
The a(0) = 0 through a(8) = 25 compositions:
. . . . . (122) (132) (133) (143)
(1122) (142) (152)
(1221) (1132) (233)
(1222) (1133)
(1321) (1142)
(2122) (1223)
(11122) (1232)
(11221) (1322)
(12211) (1331)
(1421)
(2132)
(3122)
(11132)
(11222)
(11321)
(12122)
(12212)
(12221)
(13211)
(21122)
(21221)
(111122)
(111221)
(112211)
(122111)
For leaders of constant runs we have
A056823.
For leaders of weakly increasing runs we have
A374636, complement
A189076?
The complement is counted by
A374697.
A335456 counts patterns matched by compositions.
A374700 counts compositions by sum of leaders of strictly increasing runs.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n], !GreaterEqual@@First/@Split[#,Less]&]],{n,0,15}]
Showing 1-9 of 9 results.
Comments