A374635
Number of integer compositions of n whose leaders of weakly increasing runs are themselves weakly increasing.
Original entry on oeis.org
1, 1, 2, 3, 6, 10, 20, 36, 69, 130, 247, 467, 890, 1689, 3213, 6110, 11627, 22121, 42101, 80124, 152512, 290300, 552609, 1051953, 2002583, 3812326, 7257679, 13816867, 26304254, 50077792, 95338234, 181505938, 345554234, 657874081, 1252478707, 2384507463, 4539705261
Offset: 0
The composition (1,3,3,2,4,2) has weakly increasing runs ((1,3,3),(2,4),(2)), with leaders (1,2,2), so is counted under a(15).
The a(0) = 1 through a(6) = 20 compositions:
() (1) (2) (3) (4) (5) (6)
(11) (12) (13) (14) (15)
(111) (22) (23) (24)
(112) (113) (33)
(121) (122) (114)
(1111) (131) (123)
(1112) (132)
(1121) (141)
(1211) (222)
(11111) (1113)
(1122)
(1131)
(1212)
(1221)
(1311)
(11112)
(11121)
(11211)
(12111)
(111111)
Ranked by positions of weakly increasing rows in
A374629 (sums
A374630).
Types of runs (instead of weakly increasing):
- For leaders of constant runs we have
A000041.
- For leaders of weakly decreasing runs we have
A188900.
- For leaders of anti-runs we have
A374681.
- For leaders of strictly increasing runs we have
A374690.
- For leaders of strictly decreasing runs we have
A374764.
Types of run-leaders (instead of weakly increasing):
- For strictly decreasing leaders we appear to have
A188920.
- For weakly decreasing leaders we appear to have
A189076.
- For identical leaders we have
A374631.
- For strictly increasing leaders we have
A374634.
A003242 counts anti-run compositions.
A335456 counts patterns matched by compositions.
A374637 counts compositions by sum of leaders of weakly increasing runs.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],LessEqual@@First/@Split[#,LessEqual]&]],{n,0,15}]
-
dfs(m, r, u) = 1 + sum(s=u, min(m, r-1), x^s/(1-x^s) + sum(t=s+1, m-s, dfs(m-s-t, t, s)*x^(s+t)/prod(i=s, t, 1-x^i)));
lista(nn) = Vec(dfs(nn, nn+1, 1) + O(x^(1+nn))); \\ Jinyuan Wang, Feb 13 2025
A374518
Number of integer compositions of n whose leaders of anti-runs are distinct.
Original entry on oeis.org
1, 1, 1, 3, 5, 9, 17, 32, 58, 112, 201, 371, 694, 1276, 2342, 4330, 7958, 14613, 26866, 49303, 90369, 165646, 303342, 555056, 1015069, 1855230
Offset: 0
The a(0) = 1 through a(6) = 17 compositions:
() (1) (2) (3) (4) (5) (6)
(12) (13) (14) (15)
(21) (31) (23) (24)
(121) (32) (42)
(211) (41) (51)
(122) (123)
(131) (132)
(212) (141)
(311) (213)
(231)
(312)
(321)
(411)
(1212)
(1221)
(2112)
(2121)
These compositions have ranks
A374638.
The complement is counted by
A374678.
For partitions instead of compositions we have
A375133.
Other types of runs (instead of anti-):
- For leaders of weakly increasing runs we have
A374632, ranks
A374768.
- For leaders of strictly increasing runs we have
A374687, ranks
A374698.
- For leaders of weakly decreasing runs we have
A374743, ranks
A374701.
- For leaders of strictly decreasing runs we have
A374761, ranks
A374767.
Other types of run-leaders (instead of distinct):
- For identical leaders we have
A374517.
- For weakly increasing leaders we have
A374681.
- For strictly increasing leaders we have
A374679.
- For weakly decreasing leaders we have
A374682.
- 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],UnsameQ@@First/@Split[#,UnsameQ]&]],{n,0,15}]
A374517
Number of integer compositions of n whose leaders of anti-runs are identical.
Original entry on oeis.org
1, 1, 2, 4, 7, 13, 25, 46, 85, 160, 301, 561, 1056, 1984, 3730, 7037, 13273, 25056, 47382, 89666, 169833, 322038, 611128, 1160660, 2206219, 4196730, 7988731, 15217557, 29005987, 55321015, 105570219, 201569648, 385059094, 735929616, 1407145439, 2691681402
Offset: 0
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) (131)
(212)
(221)
(1112)
(1121)
(1211)
(11111)
These compositions have ranks
A374519.
The complement is counted by
A374640.
Other types of runs (instead of anti-):
- For leaders of identical runs we have
A000005 for n > 0, ranks
A272919.
- For leaders of weakly increasing runs we have
A374631, ranks
A374633.
- For leaders of strictly increasing runs we have
A374686, ranks
A374685.
- For leaders of weakly decreasing runs we have
A374742, ranks
A374741.
- For leaders of strictly decreasing runs we have
A374760, ranks
A374759.
Other types of run-leaders (instead of identical):
- For distinct leaders we have
A374518.
- For weakly increasing leaders we have
A374681.
- For strictly increasing leaders we have
A374679.
- For weakly decreasing leaders we have
A374682.
- 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],SameQ@@First/@Split[#,UnsameQ]&]],{n,0,15}]
-
C_x(N) = {my(g =1/(1 - sum(k=1, N, x^k/(1+x^k))));g}
A_x(i,N) = {my(x='x+O('x^N), f=(x^i)*(C_x(N)*(x^i)+x^i+1)/(1+x^i)^2);f}
B_x(i,j,N) = {my(x='x+O('x^N), f=C_x(N)*x^(i+j)/((1+x^i)*(1+x^j)));f}
D_x(N) = {my(x='x+O('x^N), f=1+sum(i=1,N,-1+sum(j=0,N-i, A_x(i,N)^j)*(1-B_x(i,i,N)+sum(k=1,N-i,B_x(i,k,N)))));Vec(f)}
D_x(30) \\ John Tyler Rascoe, Aug 16 2024
A374679
Number of integer compositions of n whose leaders of anti-runs are strictly increasing.
Original entry on oeis.org
1, 1, 1, 3, 4, 8, 15, 24, 45, 84, 142, 256, 464, 817, 1464, 2621, 4649, 8299, 14819, 26389, 47033, 83833, 149325, 266011, 473867, 843853
Offset: 0
The a(0) = 1 through a(6) = 15 compositions:
() (1) (2) (3) (4) (5) (6)
(12) (13) (14) (15)
(21) (31) (23) (24)
(121) (32) (42)
(41) (51)
(122) (123)
(131) (132)
(212) (141)
(213)
(231)
(312)
(321)
(1212)
(1221)
(2121)
For distinct but not necessarily increasing leaders we have
A374518.
For partitions instead of compositions we have
A375134.
Other types of runs (instead of anti-):
- For leaders of identical runs we have
A000041.
- For leaders of weakly increasing runs we have
A374634.
- For leaders of strictly increasing runs we have
A374688.
- For leaders of strictly decreasing runs we have
A374762.
Other types of run-leaders (instead of strictly increasing):
- For identical leaders we have
A374517.
- For distinct leaders we have
A374518.
- For weakly increasing leaders we have
A374681.
- For weakly decreasing leaders we have
A374682.
- 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.
Cf.
A188920,
A238343,
A333213,
A333381,
A373949,
A374515,
A374632,
A374635,
A374678,
A374700,
A374706,
A375133.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],Less@@First/@Split[#,UnsameQ]&]],{n,0,15}]
A374636
Number of integer compositions of n whose leaders of maximal weakly increasing runs are not weakly decreasing.
Original entry on oeis.org
0, 0, 0, 0, 0, 0, 1, 3, 10, 28, 72, 178, 425, 985, 2237, 4999, 11016, 24006, 51822, 110983, 236064, 499168, 1050118, 2199304, 4587946, 9537506, 19765213, 40847186, 84205453, 173198096, 355520217, 728426569, 1489977348, 3043054678, 6206298312, 12641504738
Offset: 0
- The maximal weakly increasing runs of y = (1,1,3,2,1) are ((1,1,3),(2),(1)) with leaders (1,2,1) so y is counted under a(8). Also, y matches 1-32 and avoids 23-1.
- The maximal weakly increasing runs of y = (1,3,2,1,1) are ((1,3),(2),(1,1)) with leaders (1,2,1) so y is counted under a(8). Also, y matches 1-32 and avoids 23-1.
- The maximal weakly increasing runs of y = (2,3,1,1,1) are ((2,3),(1,1,1)) with leaders (2,1) so y is not counted under a(8). Also, y avoids 1-32 and matches 23-1.
- The maximal weakly increasing runs of y = (2,3,2,1) are ((2,3),(2),(1)) with leaders (2,2,1) so y is not counted under a(8). Also, y avoids 1-32 and matches 23-1.
- The maximal weakly increasing runs of y = (2,1,3,1,1) are ((2),(1,3),(1,1)) with leaders (2,1,1) so y is not counted under a(8). Also, y avoids both 1-32 and 23-1.
- The maximal weakly increasing runs of y = (2,1,1,3,1) are ((2),(1,1,3),(1)) with leaders (2,1,1) so y is not counted under a(8). Also, y avoids both 1-32 and 23-1.
The a(0) = 0 through a(8) = 10 compositions:
. . . . . . (132) (142) (143)
(1132) (152)
(1321) (1142)
(1232)
(1322)
(1421)
(2132)
(11132)
(11321)
(13211)
The reverse version is the same.
For leaders of identical runs we have
A056823.
The complement is counted by
A189076.
For weakly decreasing runs we have the complement of
A374747.
For leaders of strictly increasing runs we have
A375135, complement
A374697.
A106356 counts compositions by number of maximal anti-runs.
A238279 counts compositions by number of maximal runs
Cf.
A000041,
A188920,
A238343,
A238424,
A333213,
A373949,
A374632,
A374635,
A374678,
A374681,
A375297.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],!GreaterEqual@@First/@Split[#,LessEqual]&]],{n,0,15}]
(* or *)
Table[Length[Select[Join@@Permutations/@IntegerPartitions[n],MatchQ[#,{_,y_,z_,_,x_,_}/;x
A374680
Number of integer compositions of n whose leaders of anti-runs are strictly decreasing.
Original entry on oeis.org
1, 1, 1, 3, 5, 8, 16, 31, 52, 98, 179, 323, 590, 1078, 1945, 3531, 6421, 11621, 21041, 38116, 68904, 124562, 225138, 406513, 733710, 1323803
Offset: 0
The a(0) = 1 through a(6) = 16 compositions:
() (1) (2) (3) (4) (5) (6)
(12) (13) (14) (15)
(21) (31) (23) (24)
(121) (32) (42)
(211) (41) (51)
(131) (123)
(212) (132)
(311) (141)
(213)
(231)
(312)
(321)
(411)
(1212)
(2112)
(2121)
For distinct but not necessarily decreasing leaders we have
A374518.
For partitions instead of compositions we have
A375133.
Other types of runs (instead of anti-):
- For leaders of identical runs we have
A000041.
- For leaders of weakly increasing runs we have
A188920.
- For leaders of weakly decreasing runs we have
A374746.
- For leaders of strictly decreasing runs we have
A374763.
- For leaders of strictly increasing runs we have
A374689.
Other types of run-leaders (instead of strictly decreasing):
- For weakly increasing leaders we have
A374681.
- For strictly increasing leaders we have
A374679.
- For weakly decreasing leaders we have
A374682.
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],Greater@@First/@Split[#,UnsameQ]&]],{n,0,15}]
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}]
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
A374690
Number of integer compositions of n whose leaders of strictly increasing runs are weakly increasing.
Original entry on oeis.org
1, 1, 2, 3, 6, 10, 19, 34, 63, 115, 211, 387, 710, 1302, 2385, 4372, 8009, 14671, 26867, 49196, 90069, 164884, 301812, 552406, 1011004, 1850209, 3385861, 6195832, 11337470, 20745337, 37959030, 69454669, 127081111, 232517129, 425426211, 778376479, 1424137721
Offset: 0
The composition (1,1,3,2,3,2) has strictly increasing runs ((1),(1,3),(2,3),(2)), with leaders (1,1,2,2), so is counted under a(12).
The a(0) = 1 through a(6) = 19 compositions:
() (1) (2) (3) (4) (5) (6)
(11) (12) (13) (14) (15)
(111) (22) (23) (24)
(112) (113) (33)
(121) (122) (114)
(1111) (131) (123)
(1112) (132)
(1121) (141)
(1211) (222)
(11111) (1113)
(1122)
(1131)
(1212)
(1311)
(11112)
(11121)
(11211)
(12111)
(111111)
Ranked by positions of weakly increasing 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
A374681.
- For leaders of weakly increasing runs we have
A374635.
- For leaders of weakly decreasing runs we have
A188900.
- For leaders of strictly decreasing runs we have
A374764.
Types of run-leaders (instead of weakly increasing):
- For strictly increasing leaders we have
A374688.
- For strictly decreasing leaders we have
A374689.
- For weakly decreasing leaders we have
A374697.
A335456 counts patterns matched by compositions.
A374700 counts compositions by sum of leaders of strictly increasing runs.
Cf.
A000009,
A106356,
A188920,
A189076,
A238343,
A261982,
A333213,
A374629,
A374630,
A374632,
A374679.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],LessEqual@@First/@Split[#,Less]&]],{n,0,15}]
A374699
Number of integer compositions of n whose leaders of maximal anti-runs are not weakly decreasing.
Original entry on oeis.org
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
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)
The complement is counted by
A374682.
Other types of runs (instead of anti-):
- For leaders of identical runs we have
A056823.
- For leaders of weakly increasing runs we have
A374636, complement
A189076?
- For leaders of strictly increasing runs:
A375135, complement
A374697.
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.
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],!GreaterEqual@@First/@Split[#,UnsameQ]&]],{n,0,15}]
Showing 1-10 of 11 results.
Comments