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.
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}]
CROSSREFS
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