A367410 Number of strict integer partitions of n whose semi-sums cover an interval of positive integers.
1, 1, 1, 2, 2, 3, 4, 4, 4, 6, 6, 7, 7, 8, 8, 11, 9, 11, 11, 12, 12, 15, 14, 15, 16, 16, 16, 19, 18, 19, 22, 21, 21, 24, 22, 25, 26, 26, 26, 30, 28, 29, 32, 31, 32, 37, 35, 36, 38, 39, 39, 43, 42, 43, 47, 46, 49, 51, 52, 51, 58
Offset: 0
Keywords
Examples
The partition y = (4,2,1) has semi-sums {3,5,6} which are missing 4, so y is not counted under a(7). The a(1) = 1 through a(9) = 6 partitions: (1) (2) (3) (4) (5) (6) (7) (8) (9) (2,1) (3,1) (3,2) (4,2) (4,3) (5,3) (5,4) (4,1) (5,1) (5,2) (6,2) (6,3) (3,2,1) (6,1) (7,1) (7,2) (8,1) (4,3,2)
Crossrefs
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&(d=Total/@Subsets[#,{2}]; If[d=={},{}, Range[Min@@d, Max@@d]]==Union[d])&]], {n,0,30}]
Comments