A355383 Number of pairs (y, v), where y is a partition of n and v is a sub-multiset of y whose cardinality equals the number of distinct parts in y.
1, 1, 2, 3, 6, 10, 16, 26, 42, 64, 100, 150, 224, 330, 482, 697, 999, 1418, 1996, 2794, 3879, 5355, 7343, 10018, 13583, 18338, 24618, 32917, 43790, 58043, 76591, 100716, 131906, 172194, 223966, 290423, 375318, 483668, 621368, 796138, 1017146
Offset: 0
Keywords
Examples
The a(0) = 1 through a(5) = 10 pairs: ()() (1)(1) (2)(2) (3)(3) (4)(4) (5)(5) (11)(1) (21)(21) (31)(31) (41)(41) (111)(1) (22)(2) (32)(32) (211)(11) (311)(11) (211)(21) (311)(31) (1111)(1) (221)(21) (221)(22) (2111)(11) (2111)(21) (11111)(1)
Crossrefs
Programs
-
Mathematica
Table[Sum[Length[Union[Subsets[y,{Length[Union[y]]}]]],{y,IntegerPartitions[n]}],{n,0,15}]
Comments