OFFSET
1,5
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(4) = 1 through a(9) = 15 partitions:
(211) (311) (411) (421) (422) (522)
(2111) (3111) (511) (521) (621)
(21111) (3211) (611) (711)
(4111) (4211) (4221)
(22111) (5111) (4311)
(31111) (32111) (5211)
(211111) (41111) (6111)
(221111) (33111)
(311111) (42111)
(2111111) (51111)
(321111)
(411111)
(2211111)
(3111111)
(21111111)
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
For length instead of median we have A237752.
For minimum instead of median we have A237821.
Reversing the inequality gives A361848.
The complement is counted by A361858.
These partitions have ranks A361868.
For mean instead of median we have A361906.
A000975 counts subsets with integer median.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 02 2023
STATUS
approved