|
|
A325347
|
|
Number of partitions of n having an integer median.
|
|
108
|
|
|
1, 2, 2, 5, 5, 10, 11, 21, 23, 37, 45, 69, 83, 118, 145, 203, 250, 334, 415, 546, 673, 868, 1074, 1369, 1681, 2113, 2590, 3230, 3942, 4867, 5920, 7265, 8791, 10713, 12923, 15664, 18818, 22685, 27156, 32595, 38879, 46452, 55231, 65741, 77900, 92383, 109153
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
a(5) counts these 5 partitions: [5], [3,1,1], [2,2,1], [2,1,1,1], [1,1,1,1,1].
|
|
MATHEMATICA
|
Table[Count[IntegerPartitions[n], q_ /; IntegerQ[Median[q]]], {n, 10}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|