A307683 Number of partitions of n having a non-integer median.
0, 0, 1, 0, 2, 1, 4, 1, 7, 5, 11, 8, 18, 17, 31, 28, 47, 51, 75, 81, 119, 134, 181, 206, 277, 323, 420, 488, 623, 737, 922, 1084, 1352, 1597, 1960, 2313, 2819, 3330, 4029, 4743, 5704, 6722, 8030, 9434, 11234, 13175, 15601, 18262, 21552, 25184, 29612, 34518
Offset: 1
Examples
a(7) counts these 4 partitions: [6,1], [5,2], [4,3], [3,2,1,1].
Links
- Fausto A. C. Cariboni, Table of n, a(n) for n = 1..180
Crossrefs
The strict case is A360952.
Programs
-
Mathematica
Table[Count[IntegerPartitions[n], q_ /; !IntegerQ[Median[q]]], {n, 10}]
Comments