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!)
A240491 Number of partitions p of n such that the multiplicity of the mean of p is a part of p. 5
0, 1, 0, 0, 1, 0, 1, 0, 2, 2, 4, 0, 9, 0, 8, 11, 15, 0, 39, 0, 44, 45, 28, 0, 175, 30, 50, 146, 207, 0, 486, 0, 427, 415, 144, 378, 1736, 0, 236, 1084, 2669, 0, 3022, 0, 3279, 4977, 600, 0, 12557, 1195, 6503, 5959, 11042, 0, 17047, 12549, 25925, 12977, 2174 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,9
COMMENTS
a(n) = 0 if and only if n is a prime or 0.
LINKS
EXAMPLE
a(1) counts these 4 partitions: 52111, 42211, 33211, 32221.
MATHEMATICA
z = 60; f[n_] := f[n] = IntegerPartitions[n];
Table[Count[f[n], p_ /; MemberQ[p, Count[p, Mean[p]]]], {n, 0, z}] (* A240491 *)
Table[Count[f[n], p_ /; MemberQ[p, Count[p, Median[p]]]], {n, 0, z}] (* A240492 *)
Table[Count[f[n], p_ /; MemberQ[p, Count[p, Min[p]]]], {n, 0, z}] (* A240493 *)
Table[Count[f[n], p_ /; MemberQ[p, Count[p, Max[p]]]], {n, 0, z}] (* A240494 *)
Table[Count[f[n], p_ /; MemberQ[p, Count[p, Max[p] - Min[p]]]], {n, 0, z}] (* A240495 *)
CROSSREFS
Sequence in context: A144412 A360603 A337299 * A113750 A355204 A282627
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 06 2014
STATUS
approved

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 March 18 22:56 EDT 2024. Contains 370952 sequences. (Running on oeis4.)