OFFSET
1,2
COMMENTS
FORMULA
EXAMPLE
Column 3 = A059845: 7, 17, 30, 46, 65...; while rightmost terms of rows are 1, 4, 7, 10...
First few rows of the triangle =
1;
5, 4;
12, 11, 7;
22, 21, 17, 10;
35, 34, 30, 23, 13;
51, 50, 46, 39, 29, 16;
70, 69, 65, 58, 48, 35, 19;
...
PROG
(PARI) T(n, k) = local(i); if(k>n, 0, (n+1)*(3*(n+1)-1)/2-k*(3*k-1)/2) for(i=0, 10, for(j=0, i, print1(T(i, j), ", ")); print()) (Klasen)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Jun 10 2004, Jul 28 2008
EXTENSIONS
More terms from Lambert Klasen (Lambert.Klasen(AT)gmx.net), Jan 21 2005
STATUS
approved