OFFSET
0,6
COMMENTS
From Gus Wiseman, May 23 2022: (Start)
Also the number of integer partitions of n with at least one part appearing more than twice. The Heinz numbers of these partitions are given by A046099. For example, the a(0) = 0 though a(8) = 9 partitions are:
. . . (111) (1111) (2111) (222) (2221) (2222)
(11111) (3111) (4111) (5111)
(21111) (22111) (22211)
(111111) (31111) (32111)
(211111) (41111)
(1111111) (221111)
(311111)
(2111111)
(11111111)
(End)
EXAMPLE
From Gus Wiseman, May 23 2022: (Start)
The a(0) = 0 through a(8) = 9 partitions with a part that is a multiple of 3:
. . . (3) (31) (32) (6) (43) (53)
(311) (33) (61) (62)
(321) (322) (332)
(3111) (331) (431)
(3211) (611)
(31111) (3221)
(3311)
(32111)
(311111)
(End)
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], MemberQ[#/3, _?IntegerQ]&]], {n, 0, 30}] (* Gus Wiseman, May 23 2022 *)
Table[Length[Select[IntegerPartitions[n], MatchQ[#, {___, x_, x_, x_, ___}]&]], {n, 0, 30}] (* Gus Wiseman, May 23 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
R. J. Mathar, Nov 20 2017
STATUS
approved