login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A240303 Number of partitions of n such that (maximal multiplicity of parts) = (multiplicity of the least part). 3

%I #6 Apr 12 2014 16:25:27

%S 0,1,2,3,5,6,11,13,19,26,37,44,66,80,108,139,182,226,298,366,474,588,

%T 742,911,1154,1408,1751,2143,2642,3205,3944,4761,5805,6998,8479,10177,

%U 12285,14679,17620,21014,25114,29822,35529,42057,49894,58927,69644,81994

%N Number of partitions of n such that (maximal multiplicity of parts) = (multiplicity of the least part).

%F a(n) + A240304(n) = A000041(n) for n >= 1.

%e a(7) counts all the 15 partitions of 7 except 331 and 2221, so that a(7) = 13.

%t z = 60; f[n_] := f[n] = IntegerPartitions[n]; m[p_] := Max[Map[Length, Split[p]]] (* maximal multiplicity *)

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

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

%Y Cf. A240304, A000041, A171979.

%K nonn,easy

%O 0,3

%A _Clark Kimberling_, Apr 04 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 4 15:39 EDT 2024. Contains 372254 sequences. (Running on oeis4.)