OFFSET
0,6
COMMENTS
We define a semi-sum of a multiset to be any sum of a 2-element submultiset. This is different from sums of pairs of elements. For example, 2 is the sum of a pair of elements of {1}, but there are no semi-sums.
EXAMPLE
The strict partitions of 9 and their a(9) = 13 semi-sums:
(9) ->
(81) -> 9
(72) -> 9
(63) -> 9
(621) -> 3,7,8
(54) -> 9
(531) -> 4,6,8
(432) -> 5,6,7
MATHEMATICA
Table[Total[Length[Union[Total/@Subsets[#, {2}]]]&/@Select[IntegerPartitions[n], UnsameQ@@#&]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 05 2023
STATUS
approved