OFFSET
2,2
COMMENTS
Rows are palindromic.
EXAMPLE
Triangle begins:
1
2 2 2
4 4 7 4 4
8 8 14 14 14 8 8
16 16 28 28 37 28 28 16 16
32 32 56 56 74 74 74 56 56 32 32
Row n = 4 counts the following subsets:
{1,2} {1,3} {1,4} {2,4} {3,4}
{1,2,3} {1,2,3} {2,3} {1,2,4} {1,3,4}
{1,2,4} {1,3,4} {1,2,3} {2,3,4} {2,3,4}
{1,2,3,4} {1,2,3,4} {1,2,4} {1,2,3,4} {1,2,3,4}
{1,3,4}
{2,3,4}
{1,2,3,4}
MATHEMATICA
Table[Length[Select[Subsets[Range[n]], MemberQ[Total/@Subsets[#, {2}], k]&]], {n, 2, 11}, {k, 3, 2n-1}]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Gus Wiseman, Sep 15 2023
STATUS
approved