login
Number of partitions of n such that the multiplicity of the greatest part is a part.
5

%I #6 Aug 01 2014 13:42:00

%S 0,1,0,1,3,4,6,8,13,18,27,36,51,67,92,120,162,208,276,352,457,579,743,

%T 931,1183,1474,1851,2293,2857,3515,4347,5320,6532,7955,9708,11762,

%U 14279,17224,20798,24986,30034,35935,43012,51274,61125,72617,86249,102120

%N Number of partitions of n such that the multiplicity of the greatest part is a part.

%e a(6) counts these 6 partitions: 51, 411, 321, 3111, 2211, 21111.

%t z = 60; f[n_] := f[n] = IntegerPartitions[n];

%t Table[Count[f[n], p_ /; MemberQ[p, Count[p, Mean[p]]]], {n, 0, z}] (* A240491 *)

%t Table[Count[f[n], p_ /; MemberQ[p, Count[p, Median[p]]]], {n, 0, z}] (* A240492 *)

%t Table[Count[f[n], p_ /; MemberQ[p, Count[p, Min[p]]]], {n, 0, z}] (* A240493 *)

%t Table[Count[f[n], p_ /; MemberQ[p, Count[p, Max[p]]]], {n, 0, z}] (* A240494 *)

%t Table[Count[f[n], p_ /; MemberQ[p, Count[p, Max[p] - Min[p]]]], {n, 0, z}] (* A240495 *)

%Y Cf. A240491 - A240495.

%K nonn,easy

%O 0,5

%A _Clark Kimberling_, Apr 06 2014