OFFSET
1,2
COMMENTS
FORMULA
u(n,x) = u(n-1,x) + v(n-1,x), v(n,x) = u(n-1,x) + 2x*v(n-1,x) + 1, where u(1,x) = 1, v(1,x) = 1.
With offset 0, the Riordan array ((1 + z)/(1 - z - z^2), 2*z*(1 - z)/(1 - z - z^2)) with o.g.f. (1 + z)/(1 - z - z^2 - x*(2*z - 2*z^2)) = 1 + (2 + 2*x)*z + (3 + 4*x + 4*x^2)*z^2 + .... - Peter Bala, Dec 30 2015
EXAMPLE
First five rows:
1
2 2
3 4 4
5 8 8 8
8 16 20 16 16
MATHEMATICA
u[1, x_] := 1; v[1, x_] := 1; z = 16;
u[n_, x_] := u[n - 1, x] + v[n - 1, x]
v[n_, x_] := u[n - 1, x] + 2 x*v[n - 1, x] + 1
Table[Factor[u[n, x]], {n, 1, z}]
Table[Factor[v[n, x]], {n, 1, z}]
cu = Table[CoefficientList[u[n, x], x], {n, 1, z}];
TableForm[cu]
Flatten[%] (* A207612 *)
Table[Expand[v[n, x]], {n, 1, z}]
cv = Table[CoefficientList[v[n, x], x], {n, 1, z}];
TableForm[cv]
Flatten[%] (* A207613 *)
CROSSREFS
KEYWORD
AUTHOR
Clark Kimberling, Feb 19 2012
STATUS
approved