A375406 Number of integer compositions of n that match the dashed pattern 3-12.
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
Keywords
Examples
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)
Links
- Wikipedia, Permutation pattern.
- Gus Wiseman, Sequences counting and ranking compositions by their leaders (for six types of runs).
Crossrefs
Programs
Formula
a(n>0) = 2^(n-1) - A188900(n).
Comments