OFFSET
1,3
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 diagonals, flattened
Clark Kimberling and John E. Brown, Partial Complements and Transposable Dispersions, J. Integer Seqs., Vol. 7, 2004.
FORMULA
T(n, k) = k*C(n,2) + n.
From Stefano Spezia, Sep 02 2022: (Start)
G.f.: x*y*(1 - y + x*y)/((1 - x)^3*(1 - y)^2).
G.f. of n-th row: n*(1 + n - 2*y)*y/(2*(1 - y)^2). (End)
EXAMPLE
Columns 1,2,3 are the triangular, square and pentagonal numbers.
Northwest corner:
k=1 k=2 k=3 k=4 k=5
n=1: 1 1 1 1 1 ...
n=2: 3 4 5 6 7 ...
n=3: 6 9 12 15 18 ...
n=4: 10 16 22 28 34 ...
n=5: 15 25 35 45 55 ...
...
MATHEMATICA
T[n_, k_] := PolygonalNumber[k+2, n]; Table[T[n-k+1, k], {n, 1, 12}, {k, n, 1, -1}] // Flatten (* Jean-François Alcover, Sep 04 2016 *)
CROSSREFS
KEYWORD
AUTHOR
Clark Kimberling, Jul 14 2003
STATUS
approved