A360456 Number of integer partitions of n for which the parts have the same median as the multiplicities.
1, 1, 0, 0, 1, 0, 0, 1, 2, 5, 7, 10, 14, 21, 28, 36, 51, 64, 84, 106, 132, 165, 202, 252, 311, 391, 473, 579, 713, 868, 1069, 1303, 1617, 1954, 2404, 2908, 3556, 4282, 5200, 6207, 7505, 8934, 10700, 12717, 15165, 17863, 21222, 24976, 29443, 34523, 40582, 47415
Offset: 0
Keywords
Examples
The a(1) = 1 through a(11) = 10 partitions: 1 . . 22 . . 2221 3311 333 4222 5222 32111 3222 33211 33221 32211 42211 52211 42111 43111 53111 321111 52111 62111 421111 322211 3211111 431111 521111 4211111 32111111
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n], Median[Length/@Split[#]]==Median[#]&]],{n,0,30}]
Comments