The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A361655 Number of even-length integer partitions of 2n with integer mean. 3
0, 1, 3, 4, 10, 6, 33, 8, 65, 68, 117, 12, 583, 14, 319, 1078, 1416, 18, 3341, 20, 8035, 5799, 1657, 24, 36708, 16954, 3496, 24553, 68528, 30, 192180, 32, 178802, 91561, 14625, 485598, 955142, 38, 29223, 316085, 2622697, 42, 3528870, 44, 2443527, 5740043 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
EXAMPLE
The a(0) = 0 through a(5) = 6 partitions:
. (11) (22) (33) (44) (55)
(31) (42) (53) (64)
(1111) (51) (62) (73)
(111111) (71) (82)
(2222) (91)
(3221) (1111111111)
(3311)
(4211)
(5111)
(11111111)
For example, the partition (4,2,1,1) has length 4 and mean 2, so is counted under a(4).
MATHEMATICA
Table[Length[Select[IntegerPartitions[2n], EvenQ[Length[#]]&&IntegerQ[Mean[#]]&]], {n, 0, 15}]
PROG
(PARI) a(n)=if(n==0, 0, sumdiv(n, d, polcoef(1/prod(k=1, 2*d, 1 - x^k + O(x*x^(2*(n-d)))), 2*(n-d)))) \\ Andrew Howroyd, Mar 24 2023
CROSSREFS
Even-length partitions are counted by A027187, bisection A236913.
Including odd-length partitions gives A067538 bisected, ranks A316413.
For median instead of mean we have A361653.
The odd-length version is counted by A361656.
A000041 counts integer partitions, strict A000009.
A051293 counts subsets with integer mean, median A000975.
A058398 counts partitions by mean, see also A008284, A327482.
A325347 counts partitions with integer median, complement A307683.
A326567/A326568 gives mean of prime indices.
A326622 counts factorizations with integer mean.
Sequence in context: A191150 A023896 A328711 * A343876 A356150 A222136
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 23 2023
EXTENSIONS
Terms a(36) and beyond from Andrew Howroyd, Mar 24 2023
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 May 15 08:34 EDT 2024. Contains 372538 sequences. (Running on oeis4.)