login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A293627
Number of knapsack factorizations whose factors sum to n.
11
1, 1, 1, 2, 2, 4, 4, 6, 8, 11, 12, 19, 21, 27, 34, 45, 51, 69, 77, 100, 117, 146
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}]
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Oct 23 2017
STATUS
approved