OFFSET
0,4
COMMENTS
Read as an infinite symmetric square array, this is the table A(n,k)=(n+k)(n^2+k^2), cf. A321500 for the triangle with k <= n. - M. F. Hasler, Nov 22 2018
LINKS
G. C. Greubel, Rows n=0..100 of triangle, flattened
FORMULA
EXAMPLE
[0] 0
[1] 1, 1
[2] 8, 4, 8
[3] 27, 15, 15, 27
[4] 64, 40, 32, 40, 64
[5] 125, 85, 65, 65, 85, 125
[6] 216, 156, 120, 108, 120, 156, 216
[7] 343, 259, 203, 175, 175, 203, 259, 343
From M. F. Hasler, Nov 22 2018: (Start)
Can also be seen as the square array A(n,k)=(n+k)*(n^2 + k^2) read by antidiagonals:
n | k: 0 1 2 3 ...
--+----------------------
0 | 0 1 8 27 ...
1 | 1 4 15 40 ...
2 | 8 15 32 65 ...
3 | 27 40 65 108 ...
... ... ...
(End)
MAPLE
A198063 := (n, k) -> 2*k^2*n-2*k*n^2+n^3:
MATHEMATICA
t[n_, k_] := 2 k^2*n - 2 k*n^2 + n^3; Table[t[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* Amiram Eldar, Nov 22 2018 *)
PROG
(Magma) [[2*k^2*n-2*k*n^2+n^3: k in [0..n]]: n in [0..12]]; // G. C. Greubel, Nov 23 2018
(Sage) [[ 2*k^2*n-2*k*n^2+n^3 for k in range(n+1)] for n in range(12)] # G. C. Greubel, Nov 23 2018
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Peter Luschny, Oct 26 2011
STATUS
approved