OFFSET
1,8
COMMENTS
In terms of partition diagrams, these are partitions whose rectangle from the left (length times minimum) has the same size as the complement.
EXAMPLE
The a(4) = 1 through a(12) = 7 partitions:
(31) . (321) . (62) (441) (32221) . (93)
(3221) (522) (33211) (642)
(3311) (4431)
(5322)
(322221)
(332211)
(333111)
The partition y = (4,4,3,1) has maximum 4 and minimum 1 and mean 3, and 4 - 1 = 3, so y is counted under a(12). The diagram of y is:
o o o o
o o o o
o o o .
o . . .
Both the rectangle from the left and the complement have size 4.
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], Max@@#-Min@@#==Mean[#]&]], {n, 30}]
CROSSREFS
Positions of zeros are 1 and A000040.
For length instead of mean we have A237832.
For minimum instead of mean we have A118096.
These partitions have ranks A362047.
A067538 counts partitions with integer mean.
A097364 counts partitions by (maximum) - (minimum).
A243055 subtracts the least prime index from the greatest.
A326844 gives the diagram complement size of Heinz partition.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 10 2023
STATUS
approved