A335457 Number of normal patterns contiguously matched by compositions of n.
1, 2, 5, 12, 31, 80, 196, 486, 1171, 2787, 6564, 15323, 35403, 81251, 185087, 418918, 942525, 2109143, 4695648, 10405694, 22959156
Offset: 0
Examples
The a(0) = 1 through a(3) = 12 pairs of a composition with a contiguously matched pattern: ()() (1)() (2)() (3)() (1)(1) (11)() (12)() (2)(1) (21)() (11)(1) (3)(1) (11)(11) (111)() (12)(1) (21)(1) (111)(1) (12)(12) (21)(21) (111)(11) (111)(111)
Links
- Wikipedia, Permutation pattern
- Gus Wiseman, Sequences counting and ranking compositions by the patterns they match or avoid.
Crossrefs
Programs
Extensions
a(16)-a(20) from Jinyuan Wang, Jul 08 2020
Comments