OFFSET
0,5
EXAMPLE
The partition (2,2,1) has sum + product equal to 5 + 4 = 9, so is counted under a(9).
The a(0) = 0 through a(8) = 5 partitions:
. () (1) (11) (2) (21) (3) (31) (4)
(111) (1111) (211) (2111) (22)
(11111) (111111) (311)
(21111)
(1111111)
MATHEMATICA
Table[Length[Select[Join@@Array[IntegerPartitions, n+1, 0], Total[#]+Times@@#==n&]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Gus Wiseman, Jan 03 2025
STATUS
approved