login
A304796
Number of special sums of integer partitions of n.
3
1, 2, 5, 10, 18, 32, 51, 82, 122, 188, 262, 392, 529, 750, 997, 1404, 1784, 2452, 3123, 4164, 5239, 6916, 8499, 11112, 13693, 17482, 21257, 27162, 32581, 41114, 49606, 61418, 73474, 91086, 107780, 132874, 157359, 191026, 225159, 274110, 320691, 386722, 453875
OFFSET
0,2
COMMENTS
A special sum of an integer partition y is a number n >= 0 such that exactly one submultiset of y sums to n.
FORMULA
a(n) = A301854(n) + A000041(n).
EXAMPLE
The a(4) = 18 special positive subset-sums:
0<=(4), 4<=(4),
0<=(22), 2<=(22), 4<=(22),
0<=(31), 1<=(31), 3<=(31), 4<=(31),
0<=(211), 1<=(211), 3<=(211), 4<=(211),
0<=(1111), 1<=(1111), 2<=(1111), 3<=(1111), 4<=(1111).
MATHEMATICA
uqsubs[y_]:=Join@@Select[GatherBy[Union[Subsets[y]], Total], Length[#]===1&];
Table[Total[Length/@uqsubs/@IntegerPartitions[n]], {n, 25}]
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 18 2018
EXTENSIONS
More terms from Alois P. Heinz, May 18 2018
a(36)-a(42) from Chai Wah Wu, Sep 26 2023
STATUS
approved