OFFSET
0,10
COMMENTS
EXAMPLE
Array T(n,k) (with rows n >= 0 and columns k >= 1) begins as follows:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ...
3, 5, 7, 9, 11, 13, 15, 17, 19, 21, ...
5, 11, 19, 29, 41, 55, 71, 89, 109, 131, ...
8, 21, 40, 65, 96, 133, 176, 225, 280, 341, ...
13, 43, 97, 181, 301, 463, 673, 937, 1261, 1651, ...
21, 85, 217, 441, 781, 1261, 1905, 2737, 3781, 5061, ...
34, 171, 508, 1165, 2286, 4039, 6616, 10233, 15130, 21571, ...
55, 341, 1159, 2929, 6191, 11605, 19951, 32129, 49159, 72181, ...
...
MAPLE
A172237 := proc(n, k)
if n = 0 then
0;
elif n <=2 then
1 ;
else
procname(n-1, k)+k*procname(n-2, k) ;
end if;
end proc: # R. J. Mathar, Jul 05 2012
MATHEMATICA
f[0, a_] := 0; f[1, a_] := 1;
f[n_, a_] := f[n, a] = f[n - 1, a] + a*f[n - 2, a];
m1 = Table[f[n, a], {n, 0, 10}, {a, 1, 11}];
Table[Table[m1[[m, n - m + 1]], {m, 1, n}], {n, 1, 10}];
Flatten[%]
CROSSREFS
KEYWORD
AUTHOR
Roger L. Bagula and Gary W. Adamson, Jan 29 2010
EXTENSIONS
More terms from Petros Hadjicostas, Dec 26 2019
STATUS
approved