A359896 Number of odd-length integer partitions of n whose parts do not have the same mean as median.
0, 0, 0, 0, 1, 2, 2, 6, 9, 11, 15, 27, 32, 50, 58, 72, 112, 149, 171, 246, 286, 359, 477, 630, 773, 941, 1181, 1418, 1749, 2289, 2668, 3429, 4162, 4878, 6074, 7091, 8590, 10834, 12891, 15180, 18491, 22314, 25845, 31657, 36394, 42269, 52547, 62414, 73576, 85701
Offset: 0
Keywords
Examples
The a(4) = 1 through a(9) = 11 partitions: (211) (221) (411) (322) (332) (441) (311) (21111) (331) (422) (522) (421) (431) (621) (511) (521) (711) (22111) (611) (22221) (31111) (22211) (32211) (32111) (33111) (41111) (42111) (2111111) (51111) (2211111) (3111111)
Crossrefs
These partitions are ranked by A359892.
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n], OddQ[Length[#]]&&Mean[#]!=Median[#]&]],{n,0,30}]