OFFSET
0,2
FORMULA
EXAMPLE
First six rows:
1
2....1
8....5....2
20...14...8....3
40...30...20...11...4
70...55...40...26...14...5
MATHEMATICA
z = 9;
p[0, x_] := 1; p[n_, x_] := x*p[n - 1, x] + n + 1;
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}]] (* A193891 *)
TableForm[Table[g[n], {n, -1, z}]]
Flatten[Table[g[n], {n, -1, z}]] (* A193892 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Aug 08 2011
STATUS
approved