OFFSET
0,7
COMMENTS
Also, column k lists the partial sums of the column k of A195151. The first differences in row n are always the n-th term of the triangular numbers repeated 0,0,1,1,3,3,6,6,... ([0,0] together with A008805).
Also, for k >= 1, this is a table of generalized polygonal numbers since column k lists the generalized m-gonal numbers, where m = k+4, for example: if k = 1 then m = 5, so the column 1 lists the generalized pentagonal numbers A001318 (see example).
FORMULA
T(n,k) = (k+2)*n*(n+1)/8+(k-2)*((2*n+1)*(-1)^n-1)/16, n >= 0 and k >= 0. - Omar E. Pol, Oct 01 2011
EXAMPLE
Array begins:
. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,...
. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,...
. 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,...
. 4, 7, 10, 13, 16, 19, 22, 25, 28, 31,...
. 9, 12, 15, 18, 21, 24, 27, 30, 33, 36,...
. 9, 15, 21, 27, 33, 39, 45, 51, 57, 63,...
. 16, 22, 28, 34, 40, 46, 52, 58, 64, 70,...
. 16, 26, 36, 46, 56, 66, 76, 86, 96, 106,...
. 25, 35, 45, 55, 65, 75, 85, 95, 105, 115,...
. 25, 40, 55, 70, 85, 100, 115, 130, 145, 160,...
...
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Omar E. Pol, Sep 14 2011
STATUS
approved