OFFSET
1,1
EXAMPLE
Triangle begins:
-4;
-1, 4;
2, 9, 16;
5, 14, 23, 32;
8, 19, 30, 41, 52;
11, 24, 37, 50, 63, 76;
14, 29, 44, 59, 74, 89, 104;
17, 34, 51, 68, 85, 102, 119, 136;
20, 39, 58, 77, 96, 115, 134, 153, 172; etc.
MATHEMATICA
t[n_, k_]:=2 n k + n + k - 8; Table[t[n, k], {n, 11}, {k, n}]//Flatten
PROG
(Magma) [2*n*k+n+k-8: k in [1..n], n in [1..11]]; /* As triangle */ [[2*n*k+n+k-8: k in [1..n]]: n in [1.. 15]];
CROSSREFS
KEYWORD
AUTHOR
Vincenzo Librandi, Mar 25 2019
STATUS
approved