A374638
Numbers k such that the leaders of anti-runs in the k-th composition in standard order (A066099) are distinct.
Original entry on oeis.org
0, 1, 2, 4, 5, 6, 8, 9, 11, 12, 13, 16, 17, 18, 19, 20, 22, 24, 25, 26, 32, 33, 34, 35, 37, 38, 40, 41, 44, 45, 46, 48, 49, 50, 52, 53, 54, 64, 65, 66, 67, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 81, 82, 83, 88, 89, 91, 92, 93, 96, 97, 98, 100, 101, 102, 104
Offset: 1
The terms together with corresponding compositions begin:
0: ()
1: (1)
2: (2)
4: (3)
5: (2,1)
6: (1,2)
8: (4)
9: (3,1)
11: (2,1,1)
12: (1,3)
13: (1,2,1)
16: (5)
17: (4,1)
18: (3,2)
19: (3,1,1)
20: (2,3)
22: (2,1,2)
24: (1,4)
25: (1,3,1)
26: (1,2,2)
Positions of distinct (strict) rows in
A374515.
Compositions of this type are counted by
A374518.
For identical instead of distinct we have
A374519, counted by
A374517.
Other types of runs (instead of anti-):
A065120 gives leaders of standard compositions.
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.
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]&]
A374678
Number of integer compositions of n whose leaders of maximal anti-runs are not distinct.
Original entry on oeis.org
0, 0, 1, 1, 3, 7, 15, 32, 70, 144, 311, 653, 1354, 2820, 5850, 12054, 24810, 50923, 104206, 212841, 433919, 882930, 1793810, 3639248, 7373539, 14921986
Offset: 0
The anti-runs of y = (1,1,2,2) are ((1),(1,2),(2)) with leaders (1,1,2) so y is counted under a(6).
The a(0) = 0 through a(6) = 15 compositions:
. . (11) (111) (22) (113) (33)
(112) (221) (114)
(1111) (1112) (222)
(1121) (1113)
(1211) (1122)
(2111) (1131)
(11111) (1311)
(2211)
(3111)
(11112)
(11121)
(11211)
(12111)
(21111)
(111111)
Compositions of this type are ranked by
A374639.
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],!UnsameQ@@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]&]
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-6 of 6 results.
Comments