A118424: Triangle read by rows: T(n,k) is the number of binary sequences of length n containing k subsequences 001 (n,k>=0).

A102547 → x ↦ (1/8)x−1/8

A118424 nonnegative coefficients

Proved for all n: all roots real, in (−∞, 1] what this means

Recurrence from OEIS A118424
\(P_{n}(x) = \left(2\right)\,P_{n-1}(x) + \left(-1 + x\right)\,P_{n-3}(x)\)
\(P_{0}(x) = 1\)
\(P_{1}(x) = 2\)
\(P_{2}(x) = 4\)

Rows ?

nx0x1x2Pn(1)
011
122
244
3718
412416
5201232
63330164
754686128

Generated b-files: A000079 (row sums), A118424 ?

Computed in your browser ?

Technical details
Node id
n-512e5935bc8384f1 · revision 1 · JSON
Definition source
oeis_catalog:A118424
Fingerprint
f6-9a0846fcce650c01

Observed on the stored rows ?

  • Degrees: 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4 (irregular)
  • Palindromic rows: no
  • γ-positive (gamma_positive): no
  • Nonnegative coefficients (nonn): yes
  • Only rational roots (rr_by_factors: every nonzero row is a product of linear factors over ℚ): no

OEIS matches ?

A generated b-file is computed from the node's definition along the row alignment of its OEIS link and starts at the entry's offset. It is an identification on a finite prefix, not a proof that the node and the OEIS entry agree for every n.

OEIS submission text ?

Fields to paste into an OEIS submission: the example %e, the formula %F and programs %t (Mathematica) and %o (PARI/GP) that list the same rows. For an OEIS link the row numbers, the offset and the orientation are those of the entry, as matched; the matched terms were compared with the published ones, which identifies the node with the entry on a finite prefix, not for every n. The PARI/GP program is not machine-checked here.

The atlas's own rows: n = 0, …, ascending powers of x
%e Example
Triangle begins:
  0:   1;
  1:   2;
  2:   4;
  3:   7,   1;
  4:  12,   4;
  5:  20,  12;
  6:  33,  30,  1;
  7:  54,  68,  6;
  8:  88, 144, 24;
  9: 143, 291, 77, 1;
%F Formula
The row polynomials satisfy P(n,x) = 2*P(n-1,x) - (1-x)*P(n-3,x) for n >= 3, with P(0,x) = 1, P(1,x) = 2, P(2,x) = 4.
%t Mathematica
P[0, x_] := 1;
P[1, x_] := 2;
P[2, x_] := 4;
P[n_, x_] := P[n, x] = Expand[2*P[n - 1, x] - (1 - x)*P[n - 3, x]];
Table[CoefficientList[P[n, x], x], {n, 0, 9}] // Flatten
%o PARI/GP
P(N) = {my(v = vector(N + 1)); v[1] = 1; v[2] = 2; v[3] = 4; for(n = 3, N, my(i = n + 1); v[i] = 2*v[i - 1] - (1 - x)*v[i - 3]); v};
row(n, p) = {my(c = Vecrev(p)); c};
T(N) = {my(v = P(N)); concat(vector(#v, i, row(i - 1, v[i])))};
T(9)

Generated with polytool c48629374597.

A118424: triangle, offset 0, from the row P0
%e Example
Triangle begins:
  0:   1;
  1:   2;
  2:   4;
  3:   7,   1;
  4:  12,   4;
  5:  20,  12;
  6:  33,  30,  1;
  7:  54,  68,  6;
  8:  88, 144, 24;
  9: 143, 291, 77, 1;
%F Formula
The row polynomials satisfy P(n,x) = 2*P(n-1,x) - (1-x)*P(n-3,x) for n >= 3, with P(0,x) = 1, P(1,x) = 2, P(2,x) = 4.
%t Mathematica
P[0, x_] := 1;
P[1, x_] := 2;
P[2, x_] := 4;
P[n_, x_] := P[n, x] = Expand[2*P[n - 1, x] - (1 - x)*P[n - 3, x]];
Table[CoefficientList[P[n, x], x], {n, 0, 9}] // Flatten
%o PARI/GP
P(N) = {my(v = vector(N + 1)); v[1] = 1; v[2] = 2; v[3] = 4; for(n = 3, N, my(i = n + 1); v[i] = 2*v[i - 1] - (1 - x)*v[i - 3]); v};
row(n, p) = {my(c = Vecrev(p)); c};
T(N) = {my(v = P(N)); concat(vector(#v, i, row(i - 1, v[i])))};
T(9)

Generated with polytool c48629374597.

Proved properties

  • Real-rooted. Every row P_n, n >= 0, is zero or real-rooted with all roots in (-inf, 1]
    Every polynomial of the sequence has only real roots, inside the stated interval.
    by the cited steps: e-726c0b03589eafe2

Proof chains

1 incoming proof step. Each step is expanded back to the roots of the proof DAG, the theorem checks of a node's own rule. JSON

No candidate equalities or related sequences.