A367411 Number of strict integer partitions of n whose semi-sums do not cover an interval of positive integers.
0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 4, 5, 8, 10, 14, 16, 23, 27, 35, 42, 52, 61, 75, 89, 106, 126, 149, 173, 204, 237, 274, 319, 369, 424, 490, 560, 642, 734, 838, 952, 1085, 1231, 1394, 1579, 1784, 2011, 2269, 2554, 2872, 3225, 3619, 4054, 4540, 5077, 5671, 6332
Offset: 0
Keywords
Examples
The partition y = (4,2,1) has semi-sums {3,5,6} which are missing 4, so y is counted under a(7). The a(7) = 1 through a(13) = 10 partitions: (4,2,1) (4,3,1) (5,3,1) (5,3,2) (5,4,2) (6,4,2) (6,4,3) (5,2,1) (6,2,1) (5,4,1) (6,3,2) (6,5,1) (6,5,2) (6,3,1) (6,4,1) (7,3,2) (7,4,2) (7,2,1) (7,3,1) (7,4,1) (7,5,1) (8,2,1) (8,3,1) (8,3,2) (9,2,1) (8,4,1) (5,4,2,1) (9,3,1) (6,3,2,1) (10,2,1) (6,4,2,1) (7,3,2,1)
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