|
|
A365918
|
|
Number of distinct non-subset-sums of integer partitions of n.
|
|
22
|
|
|
0, 1, 2, 6, 8, 19, 24, 46, 60, 101, 124, 206, 250, 378, 462, 684, 812, 1165, 1380, 1927, 2268, 3108, 3606, 4862, 5648, 7474, 8576, 11307, 12886, 16652, 19050, 24420, 27584, 35225, 39604, 49920, 56370, 70540, 78608, 98419, 109666, 135212, 151176, 185875, 205308
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
For an integer partition y of n, we call a positive integer k <= n a non-subset-sum iff there is no submultiset of y summing to k.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The a(6) = 19 ways, showing each partition and its non-subset-sums:
(6): 1,2,3,4,5
(51): 2,3,4
(42): 1,3,5
(411): 3
(33): 1,2,4,5
(321):
(3111):
(222): 1,3,5
(2211):
(21111):
(111111):
|
|
MATHEMATICA
|
Table[Total[Length[Complement[Range[n], Total/@Subsets[#]]]&/@IntegerPartitions[n]], {n, 10}]
|
|
PROG
|
(Python)
from sympy import npartitions
|
|
CROSSREFS
|
The zero-full complement (subset-sums) is A304792.
A365543 counts partitions with a submultiset summing to k, strict A365661.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|