A363720 Number of integer partitions of n with different mean, median, and mode.
0, 0, 0, 0, 0, 0, 0, 2, 3, 5, 7, 16, 17, 34, 38, 50, 79, 115, 123, 198, 220, 291, 399, 536, 605, 815, 1036, 1241, 1520, 2059, 2315, 3132, 3708, 4491, 5668, 6587, 7788, 10259, 12299, 14515, 17153, 21558, 24623, 30876, 35540, 41476, 52023, 61931, 70811, 85545
Offset: 0
Keywords
Examples
The a(7) = 2 through a(11) = 16 partitions: (421) (431) (621) (532) (542) (3211) (521) (3321) (541) (632) (4211) (4311) (631) (641) (5211) (721) (731) (32211) (5311) (821) (6211) (4322) (322111) (4421) (5321) (5411) (6311) (7211) (33221) (43211) (52211) (332111) (422111)
Crossrefs
Programs
-
Mathematica
modes[ms_]:=Select[Union[ms],Count[ms,#]>=Max@@Length/@Split[ms]&]; Table[Length[Select[IntegerPartitions[n],{Mean[#]}!={Median[#]}!=modes[#]&]],{n,0,30}]
Comments