A335481
Numbers k such that the k-th composition in standard order (A066099) matches the pattern (2,1,3).
Original entry on oeis.org
44, 88, 89, 92, 108, 152, 172, 176, 177, 178, 179, 180, 184, 185, 188, 216, 217, 220, 236, 296, 300, 304, 305, 312, 332, 344, 345, 348, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 364, 368, 369, 370, 371, 372, 376, 377, 380, 408, 428, 432, 433, 434, 435
Offset: 1
The sequence of terms together with the corresponding compositions begins:
44: (2,1,3)
88: (2,1,4)
89: (2,1,3,1)
92: (2,1,1,3)
108: (1,2,1,3)
152: (3,1,4)
172: (2,2,1,3)
176: (2,1,5)
177: (2,1,4,1)
178: (2,1,3,2)
179: (2,1,3,1,1)
180: (2,1,2,3)
184: (2,1,1,4)
185: (2,1,1,3,1)
188: (2,1,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.
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
A335484
Numbers k such that the k-th composition in standard order (A066099) matches the pattern (3,2,1).
Original entry on oeis.org
37, 69, 75, 77, 101, 133, 137, 139, 141, 149, 150, 151, 155, 157, 165, 197, 203, 205, 229, 261, 265, 267, 269, 274, 275, 277, 278, 279, 281, 283, 285, 293, 297, 299, 300, 301, 302, 303, 309, 310, 311, 315, 317, 325, 331, 333, 357, 389, 393, 395, 397, 405, 406
Offset: 1
The sequence of terms together with the corresponding compositions begins:
37: (3,2,1)
69: (4,2,1)
75: (3,2,1,1)
77: (3,1,2,1)
101: (1,3,2,1)
133: (5,2,1)
137: (4,3,1)
139: (4,2,1,1)
141: (4,1,2,1)
149: (3,2,2,1)
150: (3,2,1,2)
151: (3,2,1,1,1)
155: (3,1,2,1,1)
157: (3,1,1,2,1)
165: (2,3,2,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
A375406
Number of integer compositions of n that match the dashed pattern 3-12.
Original entry on oeis.org
0, 0, 0, 0, 0, 0, 1, 4, 14, 41, 110, 278, 673, 1576, 3599, 8055, 17732, 38509, 82683, 175830, 370856, 776723, 1616945, 3348500, 6902905, 14174198, 29004911, 59175625, 120414435, 244468774, 495340191, 1001911626, 2023473267, 4081241473, 8222198324, 16548146045, 33276169507
Offset: 0
The a(0) = 0 through a(8) = 14 compositions:
. . . . . . (312) (412) (413)
(1312) (512)
(3112) (1412)
(3121) (2312)
(3122)
(3212)
(4112)
(4121)
(11312)
(13112)
(13121)
(31112)
(31121)
(31211)
For leaders of identical runs we have
A056823.
The complement is counted by
A188900.
Ranks are positions of non-weakly increasing rows in
A374740.
Cf.
A106356,
A188920,
A189076,
A189077,
A238343,
A333213,
A335548,
A374629,
A374637,
A374679,
A374748.
-
Table[Length[Select[Join@@Permutations/@IntegerPartitions[n], !LessEqual@@First/@Split[#,GreaterEqual]&]],{n,0,15}]
- or -
Table[Length[Select[Join@@Permutations/@IntegerPartitions[n], MatchQ[#,{_,z_,_,x_,y_,_}/;x
Comments