A361849 Number of integer partitions of n such that the maximum is twice the median.
0, 0, 0, 1, 1, 1, 4, 3, 4, 7, 9, 9, 15, 16, 20, 26, 34, 37, 50, 55, 68, 86, 103, 117, 145, 168, 201, 236, 282, 324, 391, 449, 525, 612, 712, 818, 962, 1106, 1278, 1470, 1698, 1939, 2238, 2550, 2924, 3343, 3824, 4341, 4963, 5627, 6399, 7256, 8231, 9300
Offset: 1
Keywords
Examples
The a(4) = 1 through a(11) = 9 partitions: 211 2111 21111 421 422 4221 631 632 3211 221111 4311 4222 5321 22111 2111111 2211111 42211 5411 211111 21111111 322111 42221 2221111 43211 22111111 332111 211111111 22211111 221111111 2111111111 For example, the partition (3,2,1,1) has maximum 3 and median 3/2, so is counted under a(7).
Crossrefs
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],Max@@#==2*Median[#]&]],{n,30}]
Comments