OFFSET
0,4
COMMENTS
Also subsets of {1..n} containing n whose greatest element cannot be written as a positive linear combination of the others.
LINKS
S. R. Finch, Monoids of natural numbers, March 17, 2009.
FORMULA
a(n) = A070880(n) + 1 for n > 0.
EXAMPLE
The subset {3,4,10} has 10 = 2*3 + 1*4 so is not counted under a(10).
The a(0) = 0 through a(5) = 11 subsets:
. {1} {2} {3} {4} {5}
{2,3} {3,4} {2,5}
{2,3,4} {3,5}
{1,2,3,4} {4,5}
{2,4,5}
{3,4,5}
{1,2,3,5}
{1,2,4,5}
{1,3,4,5}
{2,3,4,5}
{1,2,3,4,5}
MATHEMATICA
combp[n_, y_]:=With[{s=Table[{k, i}, {k, y}, {i, 1, Floor[n/k]}]}, Select[Tuples[s], Total[Times@@@#]==n&]];
Table[Length[Select[Subsets[Range[n]], MemberQ[#, n]&&And@@Table[combp[#[[k]], Union[Delete[#, k]]]=={}, {k, Length[#]}]&]], {n, 0, 10}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Aug 24 2023
STATUS
approved