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

A318772 → x ↦ (1/48)x−1/48

A118884 nonnegative coefficients

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

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

Rows ?

nx0x1x2x3Pn(1)
011
122
244
388
415116
528432
6521264
79632128
8177781256
93261806512
10600400241024
111104864802048
122031182723714096
133736380064888192
146872780016724016384

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

Computed in your browser ?

Technical details
Node id
n-7bfbd1a79b2d2b76 · revision 1 · JSON
Definition source
oeis_catalog:A118884
Fingerprint
f6-3e6ccf881df1d3b2

Observed on the stored rows ?

  • Degrees: 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3 (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:   8;
  4:  15,   1;
  5:  28,   4;
  6:  52,  12;
  7:  96,  32;
  8: 177,  78, 1;
  9: 326, 180, 6;
%F Formula
The row polynomials satisfy P(n,x) = 2*P(n-1,x) - (1-x)*P(n-4,x) for n >= 4, with P(0,x) = 1, P(1,x) = 2, P(2,x) = 4, P(3,x) = 8.
%t Mathematica
P[0, x_] := 1;
P[1, x_] := 2;
P[2, x_] := 4;
P[3, x_] := 8;
P[n_, x_] := P[n, x] = Expand[2*P[n - 1, x] - (1 - x)*P[n - 4, 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; v[4] = 8; for(n = 4, N, my(i = n + 1); v[i] = 2*v[i - 1] - (1 - x)*v[i - 4]); 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.

A118884: triangle, offset 0, from the row P0
%e Example
Triangle begins:
  0:   1;
  1:   2;
  2:   4;
  3:   8;
  4:  15,   1;
  5:  28,   4;
  6:  52,  12;
  7:  96,  32;
  8: 177,  78, 1;
  9: 326, 180, 6;
%F Formula
The row polynomials satisfy P(n,x) = 2*P(n-1,x) - (1-x)*P(n-4,x) for n >= 4, with P(0,x) = 1, P(1,x) = 2, P(2,x) = 4, P(3,x) = 8.
%t Mathematica
P[0, x_] := 1;
P[1, x_] := 2;
P[2, x_] := 4;
P[3, x_] := 8;
P[n_, x_] := P[n, x] = Expand[2*P[n - 1, x] - (1 - x)*P[n - 4, 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; v[4] = 8; for(n = 4, N, my(i = n + 1); v[i] = 2*v[i - 1] - (1 - x)*v[i - 4]); 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-40a62e5a79cc0439

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.