OFFSET
1,1
EXAMPLE
Square array begins:
n\k | 2 3 4 5 6 7 8 9 ...
-------------------------------------------------
1 | 2 3 6 13 30 71 170 409 ...
2 | 3 4 8 18 46 122 330 898 ...
3 | 6 8 14 28 70 192 558 1652 ...
4 | 13 18 28 48 108 288 868 2728 ...
5 | 30 46 70 108 202 466 1338 4264 ...
6 | 71 122 192 288 466 880 2174 6560 ...
7 | 170 330 558 868 1338 2174 4286 10888 ...
8 | 409 898 1652 2728 4264 6560 10888 21760 ...
...
MATHEMATICA
a[n_, q_] = ((1 + Sqrt[q])^n - (1 - Sqrt[q])^n)/(2*Sqrt[q]);
b = Table[Table[FullSimplify[ExpandAll[a[n, q]]], {n, 1, 11}], {q, 2, 12}];
c = (b + Transpose[b]);
Table[Table[c[[m, n - m + 1]], {m, 1, n}], {n, 1, 10}] // Flatten
PROG
(Maxima)
b(n, q) := ((1 + sqrt(q))^n - (1 - sqrt(q))^n)/(2*sqrt(q))$
T(n, k) := b(n, k) + b(k - 1, n + 1)$
create_list(fullratsimp(T(k - 1, n - k + 3)), n, 1, 20, k, 2, n + 1);
/* Franck Maminirina Ramaharo, Jan 27 2019 */
CROSSREFS
KEYWORD
AUTHOR
Roger L. Bagula, Feb 23 2010
EXTENSIONS
Edited by Franck Maminirina Ramaharo, Jan 27 2019
STATUS
approved