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”).

A367394
Number of integer partitions of n whose length is a semi-sum of the parts.
8
0, 0, 1, 0, 1, 1, 3, 3, 6, 7, 14, 15, 25, 30, 46, 54, 80, 97, 139, 169, 229, 282, 382, 461, 607, 746, 962, 1173, 1499, 1817, 2302, 2787, 3467, 4201, 5216, 6260, 7702, 9261, 11294, 13524, 16418, 19572, 23658, 28141, 33756, 40081, 47949, 56662, 67493, 79639
OFFSET
0,7
COMMENTS
We define a semi-sum of a multiset to be any sum of a 2-element submultiset. This is different from sums of pairs of elements. For example, 2 is the sum of a pair of elements of {1}, but there are no semi-sums.
EXAMPLE
For the partition y = (3,3,2,1) we have 4 = 3 + 1, so y is counted under a(9).
The a(2) = 1 through a(10) = 14 partitions:
(11) . (211) (221) (321) (421) (521) (621) (721)
(2211) (2221) (2222) (3222) (3322)
(3111) (3211) (3221) (3321) (3331)
(3311) (4221) (4222)
(32111) (4311) (4321)
(41111) (32211) (5221)
(42111) (5311)
(32221)
(33211)
(42211)
(43111)
(331111)
(421111)
(511111)
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], MemberQ[Total/@Subsets[#, {2}], Length[#]]&]], {n, 0, 10}]
CROSSREFS
The following sequences count and rank integer partitions and finite sets according to whether their length is a subset-sum, linear combination, or semi-sum of the parts. The current sequence is starred.
sum-full sum-free comb-full comb-free semi-full semi-free
-----------------------------------------------------------
A000041 counts partitions, strict A000009.
A002865 counts partitions whose length is a part, complement A229816.
A236912 counts partitions containing no semi-sum, ranks A364461.
A237113 counts partitions containing a semi-sum, ranks A364462.
A237668 counts sum-full partitions, sum-free A237667.
A366738 counts semi-sums of partitions, strict A366741.
Triangles:
A008284 counts partitions by length, strict A008289.
A365543 counts partitions with a subset-sum k, strict A365661.
A367404 counts partitions with a semi-sum k, strict A367405.
Sequence in context: A027187 A056508 A050065 * A298732 A078477 A336077
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 19 2023
STATUS
approved