A359900 Number of strict odd-length integer partitions of n whose parts do not have the same mean as median.
0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 4, 5, 4, 8, 10, 8, 15, 18, 17, 26, 27, 31, 43, 51, 53, 59, 81, 87, 109, 127, 115, 169, 194, 213, 255, 243, 322, 379, 431, 478, 487, 629, 667, 804, 907, 902, 1151, 1294, 1439, 1530, 1674, 2031, 2290, 2559, 2829, 2973, 3296, 3939
Offset: 0
Keywords
Examples
The a(7) = 1 through a(16) = 15 partitions (A=10, B=11, C=12, D=13): (421) (431) (621) (532) (542) (651) (643) (653) (762) (754) (521) (541) (632) (732) (652) (743) (843) (763) (631) (641) (831) (742) (752) (861) (853) (721) (731) (921) (751) (761) (942) (862) (821) (832) (842) (A32) (871) (841) (851) (A41) (943) (931) (932) (B31) (952) (A21) (941) (C21) (961) (A31) (A42) (B21) (A51) (B32) (B41) (C31) (D21) (64321)
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&OddQ[Length[#]]&&Mean[#]!=Median[#]&]],{n,0,30}]