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}]
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}]
A374681
Number of integer compositions of n whose leaders of anti-runs are weakly increasing.
Original entry on oeis.org
1, 1, 2, 4, 7, 14, 27, 50, 96, 185, 353, 672, 1289, 2466, 4722, 9052, 17342, 33244, 63767, 122325, 234727, 450553, 864975, 1660951, 3190089, 6128033
Offset: 0
The a(0) = 1 through a(5) = 14 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)
(1211)
(11111)
For partitions instead of compositions we have
A034296.
Other types of runs (instead of anti-):
- For leaders of constant runs we have
A000041.
- For leaders of weakly decreasing runs we have
A188900.
- For leaders of weakly increasing runs we have
A374635.
- For leaders of strictly increasing runs we have
A374690.
- For leaders of strictly decreasing runs we have
A374764.
Other types of run-leaders (instead of weakly increasing):
- 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],LessEqual@@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}]
A374640
Number of integer compositions of n whose leaders of maximal anti-runs are not identical.
Original entry on oeis.org
0, 0, 0, 0, 1, 3, 7, 18, 43, 96, 211, 463, 992, 2112, 4462, 9347, 19495, 40480, 83690, 172478, 354455, 726538, 1486024, 3033644, 6182389, 12580486
Offset: 0
The a(0) = 0 through a(7) = 18 compositions:
. . . . (211) (122) (411) (133)
(311) (1122) (322)
(2111) (1221) (511)
(2112) (1222)
(2211) (2113)
(3111) (2311)
(21111) (3112)
(3211)
(4111)
(11122)
(11221)
(12211)
(21112)
(21121)
(21211)
(22111)
(31111)
(211111)
For partitions instead of compositions we have
A239955.
A065120 gives leaders of standard compositions.
A106356 counts compositions by number of maximal anti-runs.
A238279 counts compositions by number of maximal runs
-
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n],!SameQ@@First/@Split[#,UnsameQ]&]],{n,0,15}]
A375399
Numbers k such that the minima of maximal anti-runs in the weakly increasing sequence of prime factors of k (with multiplicity) are not distinct.
Original entry on oeis.org
4, 8, 9, 12, 16, 20, 24, 25, 27, 28, 32, 36, 40, 44, 45, 48, 49, 52, 54, 56, 60, 63, 64, 68, 72, 76, 80, 81, 84, 88, 92, 96, 99, 100, 104, 108, 112, 116, 117, 120, 121, 124, 125, 128, 132, 135, 136, 140, 144, 148, 152, 153, 156, 160, 162, 164, 168, 169, 171
Offset: 1
The prime factors of 300 are {2,2,3,5,5}, with maximal anti-runs ((2),(2,3,5),(5)), with minima (2,2,5), so 300 is in the sequence.
The prime factors of 450 are {2,3,3,5,5}, with maximal anti-runs ((2,3),(3,5),(5)), with minima (2,3,5), so 450 is not in the sequence.
The terms together with their prime indices begin:
4: {1,1}
8: {1,1,1}
9: {2,2}
12: {1,1,2}
16: {1,1,1,1}
20: {1,1,3}
24: {1,1,1,2}
25: {3,3}
27: {2,2,2}
28: {1,1,4}
32: {1,1,1,1,1}
36: {1,1,2,2}
40: {1,1,1,3}
44: {1,1,5}
45: {2,2,3}
48: {1,1,1,1,2}
The complement for maxima instead of minima is
A375402, counted by
A375133.
Partitions (or reversed partitions) of this type are counted by
A375404.
A374520
Numbers k such that the leaders of maximal anti-runs in the k-th composition in standard order (A066099) are not identical.
Original entry on oeis.org
11, 19, 23, 26, 35, 39, 43, 46, 47, 53, 58, 67, 71, 74, 75, 78, 79, 83, 87, 91, 92, 93, 94, 95, 100, 106, 107, 117, 122, 131, 135, 138, 139, 142, 143, 147, 149, 151, 154, 155, 156, 157, 158, 159, 163, 164, 167, 171, 174, 175, 179, 183, 184, 185, 186, 187, 188
Offset: 1
The sequence together with corresponding compositions begins:
11: (2,1,1)
19: (3,1,1)
23: (2,1,1,1)
26: (1,2,2)
35: (4,1,1)
39: (3,1,1,1)
43: (2,2,1,1)
46: (2,1,1,2)
47: (2,1,1,1,1)
53: (1,2,2,1)
58: (1,1,2,2)
67: (5,1,1)
71: (4,1,1,1)
74: (3,2,2)
75: (3,2,1,1)
78: (3,1,1,2)
79: (3,1,1,1,1)
83: (2,3,1,1)
87: (2,2,1,1,1)
91: (2,1,2,1,1)
For leaders of maximal constant runs we have the complement of
A272919.
Positions of non-constant rows in
A374515.
Compositions of this type are counted by
A374640.
A065120 gives leaders of standard compositions.
A106356 counts compositions by number of maximal anti-runs.
A238279 counts compositions by number of maximal runs
All of the following pertain to compositions in standard order:
Six types of maximal runs:
-
stc[n_]:=Differences[Prepend[Join @@ Position[Reverse[IntegerDigits[n,2]],1],0]]//Reverse;
Select[Range[0,100],!SameQ@@First/@Split[stc[#],UnsameQ]&]
A374639
Numbers k such that the leaders of maximal anti-runs in the k-th composition in standard order (A066099) are not distinct.
Original entry on oeis.org
3, 7, 10, 14, 15, 21, 23, 27, 28, 29, 30, 31, 36, 39, 42, 43, 47, 51, 55, 56, 57, 58, 59, 60, 61, 62, 63, 71, 73, 79, 84, 85, 86, 87, 90, 94, 95, 99, 103, 106, 107, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 135
Offset: 1
The sequence of terms together with the corresponding compositions begins:
3: (1,1)
7: (1,1,1)
10: (2,2)
14: (1,1,2)
15: (1,1,1,1)
21: (2,2,1)
23: (2,1,1,1)
27: (1,2,1,1)
28: (1,1,3)
29: (1,1,2,1)
30: (1,1,1,2)
31: (1,1,1,1,1)
The complement for leaders of identical runs is
A374249, counted by
A274174.
Positions of non-distinct (or non-strict) rows in
A374515.
For identical instead of non-distinct we have
A374519, counted by
A374517.
For identical instead of distinct we have
A374520, counted by
A374640.
Compositions of this type are counted by
A374678.
A065120 gives leaders of standard compositions.
A106356 counts compositions by number of maximal anti-runs.
A238279 counts compositions by number of maximal runs
All of the following pertain to compositions in standard order:
Six types of maximal runs:
-
stc[n_]:=Differences[Prepend[Join @@ Position[Reverse[IntegerDigits[n,2]],1],0]]//Reverse;
Select[Range[0,100],!UnsameQ@@First/@Split[stc[#],UnsameQ]&]
Showing 1-10 of 12 results.
Comments