OFFSET
1,3
FORMULA
EXAMPLE
The triangle T(n, k) begins:
1
1 5 4
1 5 15 15 9
1 5 15 34 36 29 16
1 5 15 34 65 70 63 47 25
...
MATHEMATICA
T[n_, k_]:=If[k<=n, (k+k^3)/2, (k^3+2n-6k^2n-4n^3+k(10n^2-1))/2]; Flatten[Table[T[n, k], {n, 8}, {k, 2n-1}]]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Stefano Spezia, Apr 25 2021
STATUS
approved