A366738 Number of semi-sums of integer partitions of n.
0, 0, 1, 2, 5, 9, 17, 28, 46, 72, 111, 166, 243, 352, 500, 704, 973, 1341, 1819, 2459, 3277, 4363, 5735, 7529, 9779, 12685, 16301, 20929, 26638, 33878, 42778, 53942, 67583, 84600, 105270, 130853, 161835, 199896, 245788, 301890, 369208, 451046, 549002, 667370
Offset: 0
Keywords
Examples
The partitions of 6 and their a(6) = 17 semi-sums: (6) -> (51) -> 6 (42) -> 6 (411) -> 2,5 (33) -> 6 (321) -> 3,4,5 (3111) -> 2,4 (222) -> 4 (2211) -> 2,3,4 (21111) -> 2,3 (111111) -> 2
Crossrefs
Programs
-
Mathematica
Table[Total[Length[Union[Total/@Subsets[#,{2}]]]&/@IntegerPartitions[n]],{n,0,15}]
Extensions
More terms from Alois P. Heinz, Nov 06 2023
Comments