OFFSET
0,9
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(1) = 1 through a(11) = 10 partitions:
1 . . 22 . . 2221 3311 333 4222 5222
32111 3222 33211 33221
32211 42211 52211
42111 43111 53111
321111 52111 62111
421111 322211
3211111 431111
521111
4211111
32111111
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], Median[Length/@Split[#]]==Median[#]&]], {n, 0, 30}]
KEYWORD
nonn
AUTHOR
Gus Wiseman, Feb 10 2023
STATUS
approved