OFFSET
0,5
COMMENTS
Row sums are:
{1, 8, 111, 1732, 29713, 571304, 12330675, 296880508, 7909460021,
231346281432,...}.
FORMULA
t(n,m)=2 - (1 + m)^m + (1 + n)^n - (1 - m + n)^(n - m)
EXAMPLE
{1},
{1, 1},
{1, 7, 1},
{1, 55, 55, 1},
{1, 561, 609, 561, 1},
{1, 7151, 7705, 7705, 7151, 1},
{1, 109873, 117017, 117523, 117017, 109873, 1},
{1, 1979503, 2089369, 2096465, 2096465, 2089369, 1979503, 1},
{1, 40949569, 42929065, 43038883, 43045473, 43038883, 42929065, 40949569, 1},
{1, 956953279, 997902841, 999882289, 999991601, 999991601, 999882289, 997902841, 956953279, 1},
{1, 24937424601, 25894377873, 25935327387, 25937306329, 25937409051, 25937306329, 25935327387, 25894377873, 24937424601, 1}
MATHEMATICA
t[n_, m_] = 2 - (1 + m)^m + (1 + n)^n - (1 - m + n)^(n - m);
Table[Table[t[n, m], {m, 0, n}], {n, 0, 10}];
Flatten[%]
CROSSREFS
KEYWORD
AUTHOR
Roger L. Bagula, Apr 16 2010
STATUS
approved