login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A344310
Number of knapsack partitions of n with largest part 4.
6
0, 0, 0, 0, 1, 1, 2, 3, 1, 2, 3, 3, 1, 3, 3, 3, 2, 3, 3, 4, 2, 3, 4, 4, 1, 4, 4, 3, 2, 4, 3, 4, 2, 3, 4, 4, 1, 4, 4, 3, 2, 4, 3, 4, 2, 3, 4, 4, 1, 4, 4, 3, 2, 4, 3, 4, 2, 3, 4, 4, 1, 4, 4, 3, 2, 4, 3, 4, 2, 3, 4, 4, 1, 4, 4, 3, 2, 4, 3, 4, 2, 3, 4, 4, 1, 4, 4
OFFSET
0,7
COMMENTS
An integer partition is knapsack if every distinct submultiset has a different sum.
I computed terms a(n) for n = 0..10000 and (3, 4, 2, 3, 4, 4, 1, 4, 4, 3, 2, 4) is repeated continuously starting at a(18).
EXAMPLE
The initial values count the following partitions:
4: (4)
5: (4,1)
6: (4,1,1)
6: (4,2)
7: (4,1,1,1)
7: (4,2,1)
7: (4,3)
8: (4,4)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved