OFFSET
0,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(1) = 1 through a(14) = 18 partitions (A..E = 10..14):
1 2 3 4 5 6 7 8 9 A B C D E
31 42 421 53 432 64 542 75 643 86
51 62 531 73 632 84 652 95
321 71 621 82 641 93 742 A4
431 91 731 A2 751 B3
521 532 821 B1 832 C2
541 543 841 D1
631 642 931 653
721 651 A21 743
732 6421 752
741 761
831 842
921 851
5421 932
941
A31
B21
7421
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&IntegerQ[Median[#]]&]], {n, 0, 30}]
CROSSREFS
The median statistic is ranked by A360005(n)/2.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 21 2023
STATUS
approved