cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A209699 Triangle of coefficients of polynomials u(n,x) jointly generated with A209700; see the Formula section.

Original entry on oeis.org

1, 0, 2, 0, 2, 4, 0, 3, 4, 8, 0, 4, 5, 12, 16, 0, 5, 6, 19, 28, 32, 0, 6, 7, 28, 45, 68, 64, 0, 7, 8, 39, 66, 123, 156, 128, 0, 8, 9, 52, 91, 200, 301, 356, 256, 0, 9, 10, 67, 120, 303, 510, 747, 796, 512, 0, 10, 11, 84, 153, 436, 795, 1356, 1789, 1764, 1024, 0, 11
Offset: 1

Views

Author

Clark Kimberling, Mar 12 2012

Keywords

Comments

For a discussion and guide to related arrays, see A208510.

Examples

			First five rows:
1
0...2
0...2...4
0...3...4...8
0...4...5...12...16
First three polynomials v(n,x): 1, 2x, 2x + 4x^2.
		

Crossrefs

Programs

  • Mathematica
    u[1, x_] := 1; v[1, x_] := 1; z = 16;
    u[n_, x_] := x*u[n - 1, x] + x*v[n - 1, x];
    v[n_, x_] := 2 x*u[n - 1, x] + v[n - 1, x] + 1;
    Table[Expand[u[n, x]], {n, 1, z/2}]
    Table[Expand[v[n, x]], {n, 1, z/2}]
    cu = Table[CoefficientList[u[n, x], x], {n, 1, z}];
    TableForm[cu]
    Flatten[%]    (* A209699 *)
    Table[Expand[v[n, x]], {n, 1, z}]
    cv = Table[CoefficientList[v[n, x], x], {n, 1, z}];
    TableForm[cv]
    Flatten[%]   (* A209700 *)

Formula

u(n,x)=x*u(n-1,x)+x*v(n-1,x),
v(n,x)=2x*u(n-1,x)+v(n-1,x)+1,
where u(1,x)=1, v(1,x)=1.