OFFSET
1,4
COMMENTS
A knapsack factorization is a finite multiset of positive integers greater than one such that every distinct submultiset has a different product.
EXAMPLE
The a(12) = 19 partitions are:
(12),
(10 2), (9 3), (8 4), (7 5), (6 6),
(8 2 2), (7 3 2), (6 4 2), (6 3 3), (5 5 2), (5 4 3), (4 4 4),
(6 2 2 2), (5 3 2 2), (4 3 3 2), (3 3 3 3),
(3 3 2 2 2),
(2 2 2 2 2 2).
MATHEMATICA
nn=22;
apsQ[y_]:=UnsameQ@@Times@@@Union[Rest@Subsets[y]];
Table[Length@Select[IntegerPartitions[n], apsQ], {n, nn}]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Oct 23 2017
STATUS
approved