A335479
Numbers k such that the k-th composition in standard order (A066099) matches the pattern (1,2,3).
Original entry on oeis.org
52, 104, 105, 108, 116, 180, 200, 208, 209, 210, 211, 212, 216, 217, 220, 232, 233, 236, 244, 308, 328, 360, 361, 364, 372, 400, 401, 404, 408, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 428, 432, 433, 434, 435, 436, 440, 441, 444, 456, 464, 465, 466
Offset: 1
The sequence of terms together with the corresponding compositions begins:
52: (1,2,3)
104: (1,2,4)
105: (1,2,3,1)
108: (1,2,1,3)
116: (1,1,2,3)
180: (2,1,2,3)
200: (1,3,4)
208: (1,2,5)
209: (1,2,4,1)
210: (1,2,3,2)
211: (1,2,3,1,1)
212: (1,2,2,3)
216: (1,2,1,4)
217: (1,2,1,3,1)
220: (1,2,1,1,3)
The version counting permutations is
A056986.
Patterns matching this pattern are counted by
A335515 (by length).
Permutations of prime indices matching this pattern are counted by
A335520.
These compositions are counted by
A335514 (by sum).
Non-unimodal compositions are counted by
A115981 and ranked by
A335373.
Combinatory separations are counted by
A269134.
Patterns matched by standard compositions are counted by
A335454.
Minimal patterns avoided by a standard composition are counted by
A335465.
Other permutations:
Cf.
A034691,
A056986,
A108917,
A114994,
A158005,
A238279,
A333224,
A333257,
A334968,
A335456,
A335458.
-
stc[n_]:=Reverse[Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]];
Select[Range[0,100],MatchQ[stc[#],{_,x_,_,y_,_,z_,_}/;x
A335480
Numbers k such that the k-th composition in standard order (A066099) matches the pattern (1,3,2).
Original entry on oeis.org
50, 98, 101, 102, 114, 178, 194, 196, 197, 198, 202, 203, 205, 206, 210, 226, 229, 230, 242, 306, 324, 354, 357, 358, 370, 386, 388, 389, 390, 393, 394, 395, 396, 397, 398, 402, 404, 405, 406, 407, 410, 411, 413, 414, 418, 421, 422, 434, 450, 452, 453, 454
Offset: 1
The sequence of terms together with the corresponding compositions begins:
50: (1,3,2)
98: (1,4,2)
101: (1,3,2,1)
102: (1,3,1,2)
114: (1,1,3,2)
178: (2,1,3,2)
194: (1,5,2)
196: (1,4,3)
197: (1,4,2,1)
198: (1,4,1,2)
202: (1,3,2,2)
203: (1,3,2,1,1)
205: (1,3,1,2,1)
206: (1,3,1,1,2)
210: (1,2,3,2)
The version counting permutations is
A056986.
Patterns matching this pattern are counted by
A335515 (by length).
Permutations of prime indices matching this pattern are counted by
A335520.
These compositions are counted by
A335514 (by sum).
Non-unimodal compositions are counted by
A115981 and ranked by
A335373.
Permutations matching (1,3,2,4) are counted by
A158009.
Combinatory separations are counted by
A269134.
Patterns matched by standard compositions are counted by
A335454.
Minimal patterns avoided by a standard composition are counted by
A335465.
Other permutations:
Cf.
A034691,
A056986,
A108917,
A114994,
A158005,
A238279,
A333224,
A333257,
A334968,
A335456,
A335458.
-
stc[n_]:=Reverse[Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]];
Select[Range[0,100],MatchQ[stc[#],{_,x_,_,y_,_,z_,_}/;x
A335482
Numbers k such that the k-th composition in standard order (A066099) matches the pattern (2,3,1).
Original entry on oeis.org
41, 81, 83, 89, 105, 145, 161, 163, 165, 166, 167, 169, 177, 179, 185, 209, 211, 217, 233, 289, 290, 291, 297, 305, 321, 323, 325, 326, 327, 329, 331, 332, 333, 334, 335, 337, 339, 345, 353, 355, 357, 358, 359, 361, 369, 371, 377, 401, 417, 419, 421, 422, 423
Offset: 1
The sequence of terms together with the corresponding compositions begins:
41: (2,3,1)
81: (2,4,1)
83: (2,3,1,1)
89: (2,1,3,1)
105: (1,2,3,1)
145: (3,4,1)
161: (2,5,1)
163: (2,4,1,1)
165: (2,3,2,1)
166: (2,3,1,2)
167: (2,3,1,1,1)
169: (2,2,3,1)
177: (2,1,4,1)
179: (2,1,3,1,1)
185: (2,1,1,3,1)
The version counting permutations is
A056986.
Patterns matching this pattern are counted by
A335515 (by length).
Permutations of prime indices matching this pattern are counted by
A335520.
These compositions are counted by
A335514 (by sum).
Non-unimodal compositions are counted by
A115981 and ranked by
A335373.
Permutations matching (1,3,2,4) are counted by
A158009.
Combinatory separations are counted by
A269134.
Patterns matched by standard compositions are counted by
A335454.
Minimal patterns avoided by a standard composition are counted by
A335465.
Other permutations:
Cf.
A034691,
A056986,
A108917,
A114994,
A158005,
A238279,
A333224,
A333257,
A334968,
A335456,
A335458.
-
stc[n_]:=Reverse[Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]];
Select[Range[0,100],MatchQ[stc[#],{_,x_,_,y_,_,z_,_}/;z
A335485
Numbers k such that the k-th composition in standard order (A066099) is not weakly decreasing.
Original entry on oeis.org
6, 12, 13, 14, 20, 22, 24, 25, 26, 27, 28, 29, 30, 38, 40, 41, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 70, 72, 76, 77, 78, 80, 81, 82, 83, 84, 86, 88, 89, 90, 91, 92, 93, 94, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106
Offset: 1
The sequence of terms together with the corresponding compositions begins:
6: (1,2)
12: (1,3)
13: (1,2,1)
14: (1,1,2)
20: (2,3)
22: (2,1,2)
24: (1,4)
25: (1,3,1)
26: (1,2,2)
27: (1,2,1,1)
28: (1,1,3)
29: (1,1,2,1)
30: (1,1,1,2)
38: (3,1,2)
40: (2,4)
The complement
A114994 is the avoiding version.
The (2,1)-matching version is
A335486.
Patterns matching this pattern are counted by
A002051 (by length).
Permutations of prime indices matching this pattern are counted by
A335447.
These compositions are counted by
A056823 (by sum).
Non-unimodal compositions are counted by
A115981 and ranked by
A335373.
Combinatory separations are counted by
A269134.
Patterns matched by standard compositions are counted by
A335454.
Minimal patterns avoided by a standard composition are counted by
A335465.
-
stc[n_]:=Reverse[Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]];
Select[Range[0,100],MatchQ[stc[#],{_,x_,_,y_,_}/;x
A335467
Numbers k such that the k-th composition in standard order (A066099) avoids the pattern (1,2,1).
Original entry on oeis.org
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 28, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 50, 52, 56, 58, 60, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 78, 79, 80, 81
Offset: 1
See A335466 for an example of the complement.
The complement
A335466 is the matching version.
The (2,1,2)-avoiding version is
A335469.
These compositions are counted by
A335471.
Non-unimodal compositions are counted by
A115981 and ranked by
A335373.
Patterns matched by standard compositions are counted by
A335454.
Minimal patterns avoided by a standard composition are counted by
A335465.
Cf.
A001710,
A034691,
A056986,
A108917,
A114994,
A238279,
A333224,
A333257,
A335449,
A335456,
A335458.
-
stc[n_]:=Reverse[Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]];
Select[Range[0,100],!MatchQ[stc[#],{_,x_,_,y_,_,x_,_}/;x
A335838
Number of normal patterns contiguously matched by integer partitions of n.
Original entry on oeis.org
1, 2, 5, 9, 18, 31, 54, 89, 145, 225, 349, 524, 778, 1137, 1645, 2330, 3293, 4586, 6341, 8676, 11794, 15880, 21292, 28298, 37419, 49163, 64301, 83576, 108191, 139326, 178699, 228183, 290286, 367760, 464374, 584146, 732481, 915468, 1140773, 1417115, 1755578
Offset: 0
The patterns contiguously matched by (3,2,2,1) are: (), (1), (1,1), (2,1), (2,1,1), (2,2,1), (3,2,2,1). Note that (3,2,1) is not contiguously matched. See A335837 for a larger example.
The version for compositions in standard order is
A335474.
The version for compositions is
A335457.
The not necessarily contiguous version is
A335837.
Patterns contiguously matched by prime indices are counted by
A335516.
Contiguous divisors are counted by
A335519.
Minimal patterns avoided by prime indices are counted by
A335550.
-
mstype[q_]:=q/.Table[Union[q][[i]]->i,{i,Length[Union[q]]}];
Table[Sum[Length[Union[mstype/@ReplaceList[y,{_,s___,_}:>{s}]]],{y,IntegerPartitions[n]}],{n,0,8}]
A335466
Numbers k such that the k-th composition in standard order (A066099) matches (1,2,1).
Original entry on oeis.org
13, 25, 27, 29, 45, 49, 51, 53, 54, 55, 57, 59, 61, 77, 82, 89, 91, 93, 97, 99, 101, 102, 103, 105, 107, 108, 109, 110, 111, 113, 115, 117, 118, 119, 121, 123, 125, 141, 153, 155, 157, 162, 165, 166, 173, 177, 178, 179, 181, 182, 183, 185, 187, 189, 193, 195
Offset: 1
The sequence of terms together with the corresponding compositions begins:
13: (1,2,1)
25: (1,3,1)
27: (1,2,1,1)
29: (1,1,2,1)
45: (2,1,2,1)
49: (1,4,1)
51: (1,3,1,1)
53: (1,2,2,1)
54: (1,2,1,2)
55: (1,2,1,1,1)
57: (1,1,3,1)
59: (1,1,2,1,1)
61: (1,1,1,2,1)
77: (3,1,2,1)
82: (2,3,2)
The complement
A335467 is the avoiding version.
The (2,1,2)-matching version is
A335468.
These compositions are counted by
A335470.
Non-unimodal compositions are counted by
A115981 and ranked by
A335373.
Patterns matched by standard compositions are counted by
A335454.
Minimal patterns avoided by a standard composition are counted by
A335465.
Cf.
A034691,
A056986,
A108917,
A114994,
A238279,
A333224,
A333257,
A335446,
A335456,
A335458,
A335509.
-
stc[n_]:=Reverse[Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]];
Select[Range[0,100],MatchQ[stc[#],{_,x_,_,y_,_,x_,_}/;x
A353402
Numbers k such that the k-th composition in standard order has its own run-lengths as a subsequence (not necessarily consecutive).
Original entry on oeis.org
0, 1, 10, 21, 26, 43, 53, 58, 107, 117, 174, 186, 292, 314, 346, 348, 349, 373, 430, 442, 570, 585, 586, 629, 676, 693, 696, 697, 698, 699, 804, 826, 858, 860, 861, 885, 954, 1082, 1141, 1173, 1210, 1338, 1353, 1387, 1392, 1393, 1394, 1396, 1397, 1398, 1466
Offset: 0
The initial terms, their binary expansions, and the corresponding standard compositions:
0: 0 ()
1: 1 (1)
10: 1010 (2,2)
21: 10101 (2,2,1)
26: 11010 (1,2,2)
43: 101011 (2,2,1,1)
53: 110101 (1,2,2,1)
58: 111010 (1,1,2,2)
107: 1101011 (1,2,2,1,1)
117: 1110101 (1,1,2,2,1)
174: 10101110 (2,2,1,1,2)
186: 10111010 (2,1,1,2,2)
292: 100100100 (3,3,3)
314: 100111010 (3,1,1,2,2)
346: 101011010 (2,2,1,2,2)
348: 101011100 (2,2,1,1,3)
349: 101011101 (2,2,1,1,2,1)
373: 101110101 (2,1,1,2,2,1)
430: 110101110 (1,2,2,1,1,2)
442: 110111010 (1,2,1,1,2,2)
These compositions are counted by
A353390.
A005811 counts runs in binary expansion.
A333769 lists run-lengths of compositions in standard order.
Statistics of standard compositions:
Classes of standard compositions:
Cf.
A114640,
A165413,
A181819,
A318928,
A325705,
A329738,
A333224/
A333257,
A333755,
A353393,
A353403,
A353430.
-
stc[n_]:=Differences[Prepend[Join@@Position[ Reverse[IntegerDigits[n,2]],1],0]]//Reverse;
rosQ[y_]:=Length[y]==0||MemberQ[Subsets[y],Length/@Split[y]];
Select[Range[0,100],rosQ[stc[#]]&]
A335469
Numbers k such that the k-th composition in standard order (A066099) avoids the pattern (2,1,2).
Original entry on oeis.org
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 48, 49, 50, 51, 52, 53, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71
Offset: 1
See A335468 for an example of the complement.
The complement
A335468 is the matching version.
The (1,2,1)-avoiding version is
A335467.
These compositions are counted by
A335473.
Non-unimodal compositions are counted by
A115981 and ranked by
A335373.
Patterns matched by standard compositions are counted by
A335454.
Minimal patterns avoided by a standard composition are counted by
A335465.
Cf.
A001710,
A034691,
A056986,
A108917,
A114994,
A238279,
A333224,
A333257,
A335450,
A335456,
A335458.
-
stc[n_]:=Reverse[Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]];
Select[Range[0,100],!MatchQ[stc[#],{_,x_,_,y_,_,x_,_}/;x>y]&]
A335483
Numbers k such that the k-th composition in standard order (A066099) matches the pattern (3,1,2).
Original entry on oeis.org
38, 70, 77, 78, 102, 134, 140, 141, 142, 150, 154, 155, 157, 158, 166, 198, 205, 206, 230, 262, 268, 269, 270, 276, 278, 281, 282, 283, 284, 285, 286, 294, 301, 302, 306, 308, 309, 310, 311, 314, 315, 317, 318, 326, 333, 334, 358, 390, 396, 397, 398, 406, 410
Offset: 1
The sequence of terms together with the corresponding compositions begins:
38: (3,1,2)
70: (4,1,2)
77: (3,1,2,1)
78: (3,1,1,2)
102: (1,3,1,2)
134: (5,1,2)
140: (4,1,3)
141: (4,1,2,1)
142: (4,1,1,2)
150: (3,2,1,2)
154: (3,1,2,2)
155: (3,1,2,1,1)
157: (3,1,1,2,1)
158: (3,1,1,1,2)
166: (2,3,1,2)
The version counting permutations is
A056986.
Patterns matching this pattern are counted by
A335515 (by length).
Permutations of prime indices matching this pattern are counted by
A335520.
These compositions are counted by
A335514 (by sum).
Non-unimodal compositions are counted by
A115981 and ranked by
A335373.
Permutations matching (1,3,2,4) are counted by
A158009.
Combinatory separations are counted by
A269134.
Patterns matched by standard compositions are counted by
A335454.
Minimal patterns avoided by a standard composition are counted by
A335465.
Other permutations:
Cf.
A034691,
A056986,
A108917,
A114994,
A158005,
A238279,
A333224,
A333257,
A334968,
A335456,
A335458.
-
stc[n_]:=Reverse[Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]];
Select[Range[0,100],MatchQ[stc[#],{_,x_,_,y_,_,z_,_}/;y
Comments