OFFSET
0,1
FORMULA
EXAMPLE
First six rows:
2
8....4
26...20....8
80...72...40..16
242...232...192...112...32
728...716...656...496..256..64
MATHEMATICA
z = 10;
p[n_, x_] := (x + 2)^n;
q[0, x_] := 1; q[n_, x_] := x*q[n - 1, x] + 1;
p1[n_, k_] := Coefficient[p[n, x], x^k];
p1[n_, 0] := p[n, x] /. x -> 0;
d[n_, x_] := Sum[p1[n, k]*q[n - 1 - k, x], {k, 0, n - 1}]
h[n_] := CoefficientList[d[n, x], {x}]
TableForm[Table[Reverse[h[n]], {n, 0, z}]]
Flatten[Table[Reverse[h[n]], {n, -1, z}]] (* A193850 *)
TableForm[Table[h[n], {n, 0, z}]]
Flatten[Table[h[n], {n, -1, z}]] (* A193851 *)
TableForm[Table[Reverse[h[n]/2], {n, 0, z}]]
Flatten[Table[Reverse[h[n]]/2, {n, -1, z}]] (* A193852 *)
TableForm[Table[h[n]/2, {n, 0, z}]]
Flatten[Table[h[n]/2, {n, -1, z}]] (* A193853 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Aug 07 2011
STATUS
approved