OFFSET
0,2
FORMULA
EXAMPLE
First six rows:
1
4......1
40.....17....4
184....98....40....9
584....354...184...73...16
1484...979...584...298..116..25
MATHEMATICA
z = 12;
p[n_, x_] := Sum[((k + 1)^2)*x^(n - k), {k, 0, n}]
q[n_, x_] := p[n, x]
t[n_, k_] := Coefficient[p[n, x], x^k]; t[n_, 0] := p[n, x] /. x -> 0;
w[n_, x_] := Sum[t[n, k]*q[n + 1 - k, x], {k, 0, n}]; w[-1, x_] := 1
g[n_] := CoefficientList[w[n, x], {x}]
TableForm[Table[Reverse[g[n]], {n, -1, z}]]
Flatten[Table[Reverse[g[n]], {n, -1, z}]] (* A193961 *)
TableForm[Table[g[n], {n, -1, z}]]
Flatten[Table[g[n], {n, -1, z}]] (* A193962 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Aug 10 2011
STATUS
approved