login
A355384
Number of pairs (y, v) where y is a composition of n and v is a (not necessarily contiguous) subsequence of y whose length equals the number of distinct parts in y.
10
1, 1, 2, 4, 12, 30, 66, 164, 419, 1049, 2625, 6372, 15451, 37335, 89855, 216523, 518714, 1235897, 2930050, 6911149, 16217817, 37914515, 88304358, 204971388, 474172899, 1093547574, 2513959446, 5761735383, 13165908506, 29998936859, 68164839887, 154478212575
OFFSET
0,3
COMMENTS
If a composition is regarded as an arrow from the number of parts to the number of distinct parts, this sequence counts composable containments of compositions.
LINKS
EXAMPLE
The initial terms count the following containments:
()() (1)(1) (2)(2) (3)(3) (4)(4)
(11)(1) (21)(21) (31)(31)
(12)(12) (13)(13)
(111)(1) (22)(2)
(211)(11)
(211)(21)
(121)(11)
(121)(12)
(121)(21)
(112)(11)
(112)(12)
(1111)(1)
MATHEMATICA
Table[Sum[Length[Union[Subsets[y, {Length[Union[y]]}]]], {y, Join@@Permutations/@IntegerPartitions[n]}], {n, 0, 5}]
CROSSREFS
The homog. case is A032020, w/o containment A355388 (partitions A355385).
For partitions we have A355383, homog. A000009, w/ multiplicity A339006.
A000244 counts splittings of compositions, for partitions A323583.
Sequence in context: A130135 A048618 A083554 * A059412 A079472 A366590
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jul 01 2022
EXTENSIONS
a(21) and beyond from Christian Sievers, May 08 2025
STATUS
approved