OFFSET
1,2
EXAMPLE
Triangle begins:
1
2 2 3
4 4 3 6 6 7
8 8 6 6 9 11 11 14 14 15
16 16 12 12 9 17 17 20 20 24 27 27 30 30 31
32 32 24 24 18 17 26 31 29 35 36 43 47 50 51 56 59 59 62 62 63
Row n = 3 counts the following subsets:
{} {} {} {} {} {}
{2} {1} {1} {1} {1} {1}
{3} {3} {2} {2} {2} {2}
{2,3} {1,3} {3} {3} {3}
{1,2} {1,2} {1,2}
{2,3} {1,3} {1,3}
{2,3}
MATHEMATICA
Table[Length[Select[Subsets[Range[n]], FreeQ[Total/@Subsets[#], k]&]], {n, 8}, {k, n*(n+1)/2}]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Gus Wiseman, Oct 12 2023
STATUS
approved