OFFSET
0,4
COMMENTS
Also integer partitions of n with least co-mode 1. Here, we define a co-mode in a multiset to be an element that appears at most as many times as each of the others. For example, the co-modes in {a,a,b,b,b,c,c} are {a,c}.
EXAMPLE
The a(1) = 1 through a(8) = 7 partitions:
(1) (11) (21) (31) (41) (51) (61) (71)
(111) (1111) (221) (321) (331) (431)
(11111) (2211) (421) (521)
(111111) (2221) (3221)
(1111111) (3311)
(22211)
(11111111)
MATHEMATICA
Table[Length[Select[IntegerPartitions[n-1], Count[#, 1]<Min@@Length/@Split[DeleteCases[#, 1]]&]], {n, 0, 30}]
CROSSREFS
Counts partitions ranked by A364158.
Ranking and counting partitions:
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jul 16 2023
STATUS
approved