OFFSET
1,5
COMMENTS
Row sums are:
{1, 2, 8, 20, 68, 172, 548, 1388, 4292, 10892, 33188}.
FORMULA
t(n,m)=If[m <= Floor[n/2], 2^(m + 1) - 1, 2^(n - m + 1) - 1]*Binomial[n, m].
EXAMPLE
{1},
{1, 1},
{1, 6, 1},
{1, 9, 9, 1},
{1, 12, 42, 12, 1},
{1, 15, 70, 70, 15, 1},
{1, 18, 105, 300, 105, 18, 1},
{1, 21, 147, 525, 525, 147, 21, 1},
{1, 24, 196, 840, 2170, 840, 196, 24, 1},
{1, 27, 252, 1260, 3906, 3906, 1260, 252, 27, 1},
{1, 30, 315, 1800, 6510, 15876, 6510, 1800, 315, 30, 1}
MATHEMATICA
Table[Table[If[m <= Floor[n/2], 2^(m + 1) - 1, 2^(n - m + 1) - 1]*Binomial[n, m], {m, 0, n}], {n, 0, 10}]; Flatten[%]
CROSSREFS
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula and Gary W. Adamson, Oct 16 2008
STATUS
approved