OFFSET
0,7
COMMENTS
A multiset is non-knapsack if there exist two different submultisets with the same sum.
EXAMPLE
The a(4) = 1 through a(9) = 13 partitions:
(211) (2111) (321) (3211) (422) (3321)
(2211) (22111) (431) (4221)
(3111) (31111) (3221) (4311)
(21111) (211111) (4211) (5211)
(22211) (32211)
(32111) (33111)
(41111) (42111)
(221111) (222111)
(311111) (321111)
(2111111) (411111)
(2211111)
(3111111)
(21111111)
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], !UnsameQ@@Total/@Union[Subsets[#]]&]], {n, 0, 15}]
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 08 2023
STATUS
approved