OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
FORMULA
R(n,k,m) = k*Sum_(i=0..n-k,binomial(i+m-1,m-1)*binomial(2*(n-i)-k-1,n-i-1)/(n-i)), m=3, k>0.
R(n,0,3) = (n+1)*(n+2)/2 = A000217(n+1).
EXAMPLE
Array begins
1;
3, 1;
6, 4, 1;
10, 11, 5, 1;
15, 27, 17, 6, 1;
21, 66, 51, 24, 7, 1;
28, 170, 149, 83, 32, 8, 1;
36, 471, 443, 273, 124, 41, 9, 1;
Production matrix begins:
3, 1;
-3, 1, 1;
4, 1, 1, 1;
-2, 1, 1, 1, 1;
1, 1, 1, 1, 1, 1;
0, 1, 1, 1, 1, 1, 1;
0, 1, 1, 1, 1, 1, 1, 1;
0, 1, 1, 1, 1, 1, 1, 1, 1;
... Philippe Deléham, Sep 20 2014
MATHEMATICA
r[n_, k_, m_] := k*Sum[ Binomial[i + m - 1, m - 1]*Binomial[2*(n - i) - k - 1, n - i - 1]/(n - i), {i, 0, n - k}]; r[n_, 0, 3] = (n + 1)*(n + 2)/2; Table[ r[n, k, 3], {n, 0, 10}, {k, 0, n}] // Flatten (* Jean-François Alcover, Feb 21 2013 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Vladimir Kruchinin, Feb 07 2011
STATUS
approved