OFFSET
1,11
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(7) = 1 through a(20) = 4 strict partitions (A..C = 10..12):
421 . . 631 632 . 841 842 843 A51 A52 A53 A54 C62
5321 6421 7431 7432 8531 8532 C61 9542
7521 64321 8621 9541 9632
65321 9631 85421
9721
The partition (7,4,3,1) has maximum 7 and median 7/2, so is counted under a(15).
The partition (8,6,2,1) has maximum 8 and median 4, so is counted under a(17).
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&Max@@#==2*Median[#]&]], {n, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 02 2023
STATUS
approved