OFFSET
1,6
COMMENTS
The median of a multiset is either the middle part (for odd length), or the average of the two middle parts (for even length).
EXAMPLE
The a(5) = 1 through a(10) = 16 partitions:
(311) (411) (511) (521) (522) (622)
(3111) (4111) (611) (621) (721)
(31111) (4211) (711) (811)
(5111) (5211) (5221)
(32111) (6111) (5311)
(41111) (33111) (6211)
(311111) (42111) (7111)
(51111) (43111)
(321111) (52111)
(411111) (61111)
(3111111) (331111)
(421111)
(511111)
(3211111)
(4111111)
(31111111)
The partition y = (5,2,2,1) has maximum 5 and median 2, and 5 > 2*2, so y is counted under a(10).
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], Max@@#>2*Median[#]&]], {n, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 02 2023
STATUS
approved