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-4 of 4 results.

A120914 Cascadence of (1+2x)^2; a triangle, read by rows of 2n+1 terms, that retains its original form upon convolving each row with [1,4,4] and then letting excess terms spill over from each row into the initial positions of the next row such that only 2n+1 terms remain in row n for n>=0.

Original entry on oeis.org

1, 4, 4, 4, 20, 36, 32, 16, 20, 116, 256, 288, 212, 144, 80, 116, 720, 1776, 2388, 2144, 1504, 1012, 784, 464, 720, 4656, 12372, 18800, 19632, 15604, 10848, 7648, 5712, 4736, 2880, 4656, 30996, 86912, 144320, 169332, 151792, 113456, 79696, 58176
Offset: 0

Views

Author

Paul D. Hanna, Jul 17 2006

Keywords

Comments

More generally, the cascadence of polynomial F(x) of degree d, F(0)=1, is a triangle with d*n+1 terms in row n where the g.f. of the triangle, A(x,y), is given by: A(x,y) = ( x*H(x) - y*H(x*y^d) )/( x*F(y) - y ), where H(x) satisfies: H(x) = G*H(x*G^d)/x and G satisfies: G = x*F(G) so that G = series_reversion(x/F(x)); also, H(x) is the g.f. of column 0.

Examples

			Triangle begins:
1;
4, 4, 4;
20, 36, 32, 16, 20;
116, 256, 288, 212, 144, 80, 116;
720, 1776, 2388, 2144, 1504, 1012, 784, 464, 720;
4656, 12372, 18800, 19632, 15604, 10848, 7648, 5712, 4736, 2880, 4656;
Convolution of [1,4,4] with each row produces:
[1,4,4]*[1] = [1,4,4];
[1,4,4]*[4,4,4] = [4,20,36,32,16];
[1,4,4]*[20,36,32,16,20] = [20,116,256,288,212,144,80];
[1,4,4]*[116,256,288,212,144,80,116] =
[116,720,1776,2388,2144,1504,1012,784,464];
These convoluted rows, when concatenated, yield the sequence:
1,4,4, 4,20,36,32,16, 20,116,256,288,212,144,80, 116,720,1776,2388,...
which equals the concatenated rows of this original triangle:
1, 4,4,4, 20,36,32,16,20, 116,256,288,212,144,80,116, 720,1776,2388,...
		

Crossrefs

Cf. A120915 (column 0), A120917 (central terms), A120918 (row sums), A000108 (Catalan); variants: A092683, A092686, A120894, A120898, A120919.

Programs

  • PARI
    /* Generate Triangle by the Recurrence: */
    {T(n,k)=if(2*n
    				
  • PARI
    /* Generate Triangle by the G.F.: */
    {T(n,k)=local(A,F=1+4*x+4*x^2,d=2,G=x,H=1+x,S=ceil(log(n+1)/log(d+1))); for(i=0,n,G=x*subst(F,x,G+x*O(x^n)));for(i=0,S,H=subst(H,x,x*G^d+x*O(x^n))*G/x); A=(x*H-y*subst(H,x,x*y^d +x*O(x^n)))/(x*subst(F,x,y)-y); polcoeff(polcoeff(A,n,x),k,y)}
    for(n=0,10,for(k=0,n,print1(T(n,k),", "));print(""))

Formula

G.f.: A(x,y) = ( x*H(x) - y*H(x*y^2) )/( x*(1+2y)^2 - y ), where H(x) satisfies: H(x) = G*H(x*G^2)/x and G satisfies: G = x*(1 + 2G)^2 ; also, H(x) is the g.f. of column 0.

A120916 G.f. satisfies: A(x) = C(2x)*A(x^3*C(2x)^4), where C(x) is the g.f. of the Catalan numbers (A000108).

Original entry on oeis.org

1, 2, 8, 42, 244, 1504, 9656, 63856, 431872, 2972778, 20756036, 146627648, 1046060836, 7525452296, 54530660832, 397628393728, 2915496099136, 21481907631872, 158975372309176, 1181109256858096, 8806197969093184
Offset: 0

Views

Author

Paul D. Hanna, Jul 17 2006

Keywords

Comments

Self-convolution equals A120915, which equals column 0 of triangle A120914 (cascadence of (1+2x)^2).

Crossrefs

Programs

  • PARI
    {a(n)=local(A=1+2*x,C=(1/x*serreverse(x/(1+4*x+4*x^2+x*O(x^n))))^(1/2)); for(i=0,n,A=C*subst(A,x,x^3*C^4 +x*O(x^n)));polcoeff(A,n,x)}

A120917 Central terms of triangle A120914 (cascadence of (1+2x)^2).

Original entry on oeis.org

1, 4, 32, 212, 1504, 10848, 79696, 596160, 4520000, 34673940, 268538048, 2096374656, 16475970896, 130234435648, 1034568731408, 8254368150320, 66112337392256, 531345216883584, 4283682906179728, 34632004320564416
Offset: 0

Views

Author

Paul D. Hanna, Jul 17 2006

Keywords

Crossrefs

Programs

  • PARI
    {a(n)=local(A,F=1+4*x+4*x^2,d=2,G=x,H=1+x,S=ceil(log(n+1)/log(d+1))); for(i=0,n,G=x*subst(F,x,G+x*O(x^n)));for(i=0,S,H=subst(H,x,x*G^d+x*O(x^n))*G/x); A=(x*H-y*subst(H,x,x*y^d +x*O(x^n)))/(x*subst(F,x,y)-y); polcoeff(polcoeff(A,n,x),n,y)}

A120918 Row sums of triangle A120914 (cascadence of (1+2x)^2).

Original entry on oeis.org

1, 12, 124, 1212, 11512, 107544, 994236, 9128024, 83400856, 759387964, 6896903064, 62519804504, 565914425336, 5116780986152, 46223426993576, 417279346904792, 3764890593799336, 33953608251139560, 306100904240342268
Offset: 0

Views

Author

Paul D. Hanna, Jul 17 2006

Keywords

Crossrefs

Programs

  • PARI
    {a(n)=local(A,F=1+4*x+4*x^2,d=2,G=x,H=1+x,S=ceil(log(n+1)/log(d+1))); for(i=0,n,G=x*subst(F,x,G+x*O(x^n)));for(i=0,S,H=subst(H,x,x*G^d+x*O(x^n))*G/x); A=(x*H-y*subst(H,x,x*y^d +x*O(x^n)))/(x*subst(F,x,y)-y); sum(k=0,2*n,polcoeff(polcoeff(A,n,x),k,y))}

Formula

G.f.: A(x) = H(x)*(1-x)/(1-9*x), where H(x) is the g.f. of A120915: H(x) = C(2x)^2*H(x*C(2x)^4) and C(x) is the g.f. of A000108 (Catalan).
Showing 1-4 of 4 results.