A361800 Number of integer partitions of n with the same length as median.
1, 0, 0, 2, 0, 0, 1, 2, 3, 3, 3, 3, 4, 6, 9, 13, 14, 15, 18, 21, 27, 32, 40, 46, 55, 62, 72, 82, 95, 111, 131, 157, 186, 225, 264, 316, 366, 430, 495, 578, 663, 768, 880, 1011, 1151, 1316, 1489, 1690, 1910, 2158, 2432, 2751, 3100, 3505, 3964, 4486, 5079, 5764
Offset: 1
Keywords
Examples
The a(1) = 1 through a(15) = 9 partitions (A=10, B=11): 1 . . 22 . . 331 332 333 433 533 633 733 833 933 31 431 432 532 632 732 832 932 A32 531 631 731 831 931 A31 B31 4441 4442 4443 5441 5442 5531 5532 6441 6531 6621
Crossrefs
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],Length[#]==Median[#]&]],{n,30}]
Comments