OFFSET
1,4
COMMENTS
Also the number of multisets of length n covering an initial interval of positive integers with more than one mode.
EXAMPLE
The a(2) = 1 through a(6) = 9 compositions:
(11) (111) (22) (122) (33)
(1111) (212) (222)
(221) (1122)
(11111) (1212)
(1221)
(2112)
(2121)
(2211)
(111111)
MATHEMATICA
Table[Length[Select[Join@@Permutations /@ IntegerPartitions[n], Count[#, Max@@#]>1&]], {n, 15}]
CROSSREFS
For partitions instead of compositions we have A002865.
The complement is counted by A097979 shifted left.
Row sums of columns k > 1 of A238341.
If the greatest part appears exactly twice we have A243737.
A032020 counts strict compositions.
A261982 counts compositions with some part appearing more than once.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 04 2023
STATUS
approved