login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A335838 Number of normal patterns contiguously matched by integer partitions of n. 11
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
We define a (normal) pattern to be a finite sequence covering an initial interval of positive integers. Patterns are counted by A000670 and ranked by A333217. A sequence S is said to contiguously match a pattern P if there is a contiguous subsequence of S whose parts have the same relative order as P. For example, (3,1,1,3) contiguously matches (1,1,2) and (2,1,1) but not (2,1,2), (1,2,1), (1,2,2), or (2,2,1).
LINKS
EXAMPLE
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.
MATHEMATICA
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}]
CROSSREFS
The version for compositions in standard order is A335474.
The version for compositions is A335457.
The not necessarily contiguous version is A335837.
Patterns are counted by A000670 and ranked by A333217.
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.
Sequence in context: A091356 A107705 A278690 * A335837 A288578 A002883
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 27 2020
EXTENSIONS
More terms from Jinyuan Wang, Jun 27 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 06:44 EDT 2024. Contains 371782 sequences. (Running on oeis4.)