OFFSET
0,7
EXAMPLE
3 cannot be written as a nonnegative linear combination of 2 and 5, so (5,2,2) is counted under a(9).
The a(2) = 1 through a(10) = 7 partitions:
(2) (3) (4) (5) (6) (7) (8) (9) (10)
(3,3) (4,3) (4,4) (5,4) (5,5)
(2,2,2) (5,3) (6,3) (6,4)
(4,2,2) (5,2,2) (7,3)
(4,4,2)
(6,2,2)
(2,2,2,2,2)
MATHEMATICA
combs[n_, y_]:=With[{s=Table[{k, i}, {k, y}, {i, 0, Floor[n/k]}]}, Select[Tuples[s], Total[Times@@@#]==n&]];
Table[Length[Select[IntegerPartitions[n], combs[Length[#], Union[#]]=={}&]], {n, 0, 15}]
CROSSREFS
The following sequences count and rank integer partitions and finite sets according to whether their length is a subset-sum or linear combination of the parts. The current sequence is starred.
sum-full sum-free comb-full comb-free
-------------------------------------------
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 14 2023
EXTENSIONS
a(31)-a(56) from Chai Wah Wu, Nov 15 2023
STATUS
approved