A360251 Number of integer partitions of n where the parts have lesser mean than the distinct parts.
0, 0, 0, 0, 1, 2, 3, 7, 9, 16, 22, 34, 44, 69, 88, 118, 163, 221, 280, 376, 473, 619, 800, 1016, 1257, 1621, 2038, 2522, 3117, 3921, 4767, 5964, 7273, 8886, 10838, 13141, 15907, 19468, 23424, 28093, 33656, 40672, 48273, 58171, 68944, 81888, 97596, 115643
Offset: 0
Keywords
Examples
The a(4) = 1 through a(9) = 16 partitions: (211) (311) (411) (322) (422) (522) (2111) (3111) (511) (611) (711) (21111) (3211) (4211) (3222) (4111) (5111) (4221) (22111) (32111) (4311) (31111) (41111) (5211) (211111) (221111) (6111) (311111) (32211) (2111111) (33111) (42111) (51111) (321111) (411111) (2211111) (3111111) (21111111) For example, the partition y = (4,2,2,1) has mean 9/4 and distinct parts {1,2,4} with mean 7/3, so y is counted under a(9).
Crossrefs
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],Mean[#]