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.

Showing 1-1 of 1 results.

A191791 Triangle read by rows: T(n,k) is the number of length n left factors of Dyck paths having k UDUD's, where U=(1,1) and D=(1,-1).

Original entry on oeis.org

1, 1, 2, 3, 5, 1, 8, 2, 15, 4, 1, 25, 8, 2, 46, 19, 4, 1, 79, 36, 9, 2, 147, 76, 24, 4, 1, 256, 146, 48, 10, 2, 477, 304, 109, 29, 4, 1, 841, 578, 224, 60, 11, 2, 1570, 1180, 499, 144, 34, 4, 1, 2791, 2244, 1002, 312, 72, 12, 2, 5217, 4525, 2172, 731, 181, 39, 4, 1, 9336, 8588, 4347, 1530, 410, 84, 13, 2
Offset: 0

Views

Author

Emeric Deutsch, Jun 18 2011

Keywords

Comments

Row n>=2 contains floor(n/2) entries.
Sum of entries in row n is binomial(n, floor(n/2)) =A001405(n).
T(n,0)=A191792(n).
Sum(k*T(n,k), k>=0)=A100071(n-3).

Examples

			T(7,2)=2 because we have (UD[UD)UD]U and U(UD[UD)UD], where U=(1,1) and D=(1,-1) (the UDUD's are shown between parentheses).
Triangle starts:
1;
1;
2;
3;
5,1;
8,2;
15,4,1;
25,8,2;
		

Crossrefs

Programs

  • Maple
    eq := z^2*(1+z^2-t*z^2)*C^2-(1+z^2+z^4-t*z^2-t*z^4)*C+1+z^2-t*z^2: C := RootOf(eq, C): G := C/(1-z*C): Gser := simplify(series(G, z = 0, 20)): for n from 0 to 17 do P[n] := sort(coeff(Gser, z, n)) end do: 1; 1; for n from 2 to 17 do seq(coeff(P[n], t, k), k = 0 .. floor((1/2)*n)-1) end do; # yields sequence in triangular form

Formula

G.f.: G(t,z) = C/(1-z*C), where C=C(t,z) is given by z^2*(1+z^2-t*z^2)*C^2 - (1+z^2+z^4- t*z^2-t*z^4)*C + 1 + z^2 - t*z^2 = 0.
Showing 1-1 of 1 results.