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.

A246563 G.f.: Sum_{n>=0} x^n / (1-x^2)^(2*n+1) * [Sum_{k=0..n} C(n,k)^2 * x^(2*k)]^2.

Original entry on oeis.org

1, 1, 2, 6, 15, 39, 116, 340, 1001, 3041, 9322, 28718, 89363, 279987, 881376, 2788464, 8860677, 28256709, 90407666, 290124182, 933482527, 3010689527, 9731366060, 31516942060, 102259648701, 332347297141, 1081810639970, 3526399820374, 11510355762339, 37616896717155
Offset: 0

Views

Author

Paul D. Hanna, Aug 29 2014

Keywords

Comments

Bisections form A246570 and A246571.
Compare formula for a(n) to a formula for tribonacci numbers:
A000073(n+2) = Sum_{k=0..[n/2]} Sum_{j=0..k} C(n-k-j,k) * C(k,j).

Examples

			G.f.: A(x) = 1 + x + 2*x^2 + 6*x^3 + 15*x^4 + 39*x^5 + 116*x^6 + 340*x^7 +...
where the g.f. is given by the binomial series identity:
A(x) = 1/(1-x^2) + x/(1-x^2)^3 * (1 + x^2)^2
+ x^2/(1-x^2)^5 * (1 + 2^2*x^2 + x^4)^2
+ x^3/(1-x^2)^7 * (1 + 3^2*x^2 + 3^2*x^4 + x^6)^2
+ x^4/(1-x^2)^9 * (1 + 4^2*x^2 + 6^2*x^4 + 4^2*x^6 + x^8)^2
+ x^5/(1-x^2)^11 * (1 + 5^2*x^2 + 10^2*x^4 + 10^2*x^6 + 5^2*x^8 + x^10)^2 +...
equals the series
A(x) = 1/(1-x) + x^2/(1-x)^3 * (1 + x)^2
+ x^4/(1-x)^5 * (1 + 2^2*x + x^2)^2
+ x^6/(1-x)^7 * (1 + 3^2*x + 3^2*x^2 + x^3)^2
+ x^8/(1-x)^9 * (1 + 4^2*x + 6^2*x^2 + 4^2*x^3 + x^4)^2
+ x^10/(1-x)^11 * (1 + 5^2*x + 10^2*x^2 + 10^2*x^3 + 5^2*x^4 + x^5)^2 +...
Curiously, the BISECTIONS of the g.f. are squares of integer series:
let A(x) = B0(x^2) + x*B1(x^2), then
B0(x) = 1 + 2*x + 15*x^2 + 116*x^3 + 1001*x^4 + 9322*x^5 + 89363*x^6 +...+ A246570(n)*x^n +...
sqrt(B0(x)) = 1 + x + 7*x^2 + 51*x^3 + 425*x^4 + 3879*x^5 + 36527*x^6 +...+ A246572(n)*x^n +...
B1(x) =  1 + 6*x + 39*x^2 + 340*x^3 + 3041*x^4 + 28718*x^5 + 279987*x^6 +...+ A246571(n)*x^n +...
sqrt(B1(x)) = 1 + 3*x + 15*x^2 + 125*x^3 + 1033*x^4 + 9385*x^5 + 88531*x^6 +...+  A246573(n)*x^n +...
		

Crossrefs

Programs

  • Mathematica
    Table[Sum[Sum[Binomial[n-k-j,k]^2 * Binomial[k,j]^2,{j,0,k}],{k,0,Floor[n/2]}],{n,0,20}] (* Vaclav Kotesovec, Sep 02 2014 *)
  • PARI
    /* By definition: */
    {a(n)=local(A=1); A=sum(m=0, n, x^m/(1-x^2)^(2*m+1) * sum(k=0, m, binomial(m, k)^2 * x^(2*k))^2 +x*O(x^n)); polcoeff(A, n)}
    for(n=0, 35, print1(a(n), ", "))
    
  • PARI
    /* By a binomial identity: */
    {a(n)=local(A=1); A=sum(m=0, n, x^(2*m)/(1-x)^(2*m+1) * sum(k=0, m, binomial(m, k)^2 * x^k)^2 +x*O(x^n)); polcoeff(A, n)}
    for(n=0, 35, print1(a(n), ", "))
    
  • PARI
    /* By a binomial identity: */
    {a(n)=polcoeff(sum(m=0, n, x^m*sum(k=0, m, binomial(m, k)^2 * x^k * sum(j=0, k, binomial(k, j)^2 * x^j )+x*O(x^n))), n)}
    for(n=0, 35, print1(a(n), ", "))
    
  • PARI
    /* By a binomial identity: */
    {a(n)=polcoeff(sum(m=0, n, x^m*sum(k=0, m, binomial(m, k)^2 * x^(m-k) * sum(j=0, k, binomial(k, j)^2 * x^(2*j) )+x*O(x^n))), n)}
    for(n=0, 35, print1(a(n), ", "))
    
  • PARI
    /* From a formula for a(n): */
    {a(n)=sum(k=0, n\2, sum(j=0, min(k,n-2*k), binomial(n-k-j, k)^2 * binomial(k, j)^2 ))}
    for(n=0, 35, print1(a(n), ", "))

Formula

G.f.: Sum_{n>=0} x^(2*n) / (1-x)^(2*n+1) * [Sum_{k=0..n} C(n,k)^2 * x^k]^2.
G.f.: Sum_{n>=0} x^n * Sum_{k=0..n} C(n,k)^2 * x^k * Sum_{j=0..k} C(k,j)^2 * x^j.
G.f.: Sum_{n>=0} x^n * Sum_{k=0..n} C(n,k)^2 * x^(n-k) * Sum_{j=0..k} C(k,j)^2 * x^(2*j).
a(n) = Sum_{k=0..[n/2]} Sum_{j=0..k} C(n-k-j,k)^2 * C(k,j)^2.
Recurrence: n^2*(2*n - 7)*(2*n - 5)*a(n) = (2*n - 7)*(4*n^3 - 14*n^2 + 10*n - 3)*a(n-1) + (8*n^4 - 64*n^3 + 174*n^2 - 198*n + 87)*a(n-2) + (2*n - 3)*(20*n^3 - 150*n^2 + 362*n - 281)*a(n-3) + 3*(2*n - 5)*a(n-4) - (2*n - 7)*(20*n^3 - 150*n^2 + 362*n - 279)*a(n-5) - (8*n^4 - 96*n^3 + 414*n^2 - 742*n + 447)*a(n-6) - (2*n - 3)*(4*n^3 - 46*n^2 + 170*n - 197)*a(n-7) + (n-5)^2*(2*n - 5)*(2*n - 3)*a(n-8). - Vaclav Kotesovec, Sep 02 2014
a(n) ~ c * d^n / (Pi*n), where d = ((54+6*sqrt(33))^(2/3) + 12 + 3*(54+6*sqrt(33))^(1/3)) / (3*(54+6*sqrt(33))^(1/3)) = 3.3829757679062374941227... is the root of the equation -1 - d - 3*d^2 + d^3 = 0, c = 1/12*(199+3*sqrt(33))^(1/3) + 17/(6*(199+3*sqrt(33))^(1/3)) + 7/12 = 1.55556563078009965666864... . - Vaclav Kotesovec, Sep 02 2014

A246570 G.f.: Sum_{n>=0} x^n / (1-x)^(4*n+1) * [Sum_{k=0..2*n} C(2*n,k)^2 * x^k]^2.

Original entry on oeis.org

1, 2, 15, 116, 1001, 9322, 89363, 881376, 8860677, 90407666, 933482527, 9731366060, 102259648701, 1081810639970, 11510355762339, 123077391281248, 1321739147949829, 14248409211657754, 154118033900091139, 1672053762899099700, 18189628173538580233, 198362957005290443978
Offset: 0

Views

Author

Paul D. Hanna, Aug 30 2014

Keywords

Comments

A bisection of A246563.
Self-convolution of A246572.

Examples

			G.f.: A(x) = 1 + 2*x + 15*x^2 + 116*x^3 + 1001*x^4 + 9322*x^5 + 89363*x^6 +...
where
A(x) = 1/(1-x) + x/(1-x)^5 * (1 + 2^2*x + x^2)^2
+ x^2/(1-x)^9 * (1 + 4^2*x + 6^2*x^2 + 4^2*x^3 + x^4)^2
+ x^3/(1-x)^13 * (1 + 6^2*x + 15^2*x^2 + 20^2*x^3 + 15^2*x^4 + 6^2*x^5 + x^6)^2 +...
The square-root of the g.f. is an integer series:
A(x)^(1/2) = 1 + x + 7*x^2 + 51*x^3 + 425*x^4 + 3879*x^5 + 36527*x^6 + 355333*x^7 + 3531175*x^8 + 35673875*x^9 +...+ A246572(n)*x^n +...
		

Crossrefs

Programs

  • Mathematica
    Table[Sum[Sum[Binomial[2*n-k-j,k]^2 * Binomial[k,j]^2,{j,0,k}],{k,0,n}],{n,0,20}] (* Vaclav Kotesovec, Sep 02 2014 *)
  • PARI
    /* By definition: */
    {a(n)=local(A=1); A=sum(m=0, n, x^m/(1-x)^(4*m+1) * sum(k=0, 2*m, binomial(2*m, k)^2 * x^k)^2 +x*O(x^n)); polcoeff(A, n)}
    for(n=0, 25, print1(a(n), ", "))
    
  • PARI
    /* From a formula for a(n): */
    {a(n)=sum(k=0, n, sum(j=0, min(k, 2*n-2*k), binomial(2*n-k-j, k)^2 * binomial(k, j)^2 ))}
    for(n=0, 25, print1(a(n), ", "))

Formula

a(n) = Sum_{k=0..n} Sum_{j=0..k} C(2*n-k-j,k)^2 * C(k,j)^2.

A246572 G.f.: sqrt( Sum_{n>=0} x^n / (1-x)^(4*n+1) * [Sum_{k=0..2*n} C(2*n,k)^2 * x^k]^2 ).

Original entry on oeis.org

1, 1, 7, 51, 425, 3879, 36527, 355333, 3531175, 35673875, 365179885, 3777991337, 39430009247, 414567124053, 4386228722281, 46659584847835, 498701253293129, 5352318710976505, 57655365854918487, 623105208980304843, 6753999316026236871, 73403038257774972101, 799674458063926645329
Offset: 0

Views

Author

Paul D. Hanna, Aug 30 2014

Keywords

Comments

Self-convolution equals A246570.

Crossrefs

Programs

  • PARI
    /* By definition: */
    {a(n)=local(A=1); A = sqrt( sum(m=0, n, x^m/(1-x)^(4*m+1) * sum(k=0, 2*m, binomial(2*m, k)^2 * x^k)^2 +x*O(x^n)) ); polcoeff(A, n)}
    for(n=0, 25, print1(a(n), ", "))

Formula

G.f.: A(x) = 1 + x + 7*x^2 + 51*x^3 + 425*x^4 + 3879*x^5 + 36527*x^6 +...
such that
A(x)^2 = 1/(1-x) + x/(1-x)^5 * (1 + 2^2*x + x^2)^2
+ x^2/(1-x)^9 * (1 + 4^2*x + 6^2*x^2 + 4^2*x^3 + x^4)^2
+ x^3/(1-x)^13 * (1 + 6^2*x + 15^2*x^2 + 20^2*x^3 + 15^2*x^4 + 6^2*x^5 + x^6)^2 +...
Explicitly,
A(x)^2 = 1 + 2*x + 15*x^2 + 116*x^3 + 1001*x^4 + 9322*x^5 + 89363*x^6 +...+ A246570(n)*x^n +...

A246573 G.f.: sqrt( Sum_{n>=0} x^n / (1-x)^(4*n+3) * [Sum_{k=0..2*n+1} C(2*n+1,k)^2 * x^k]^2 ).

Original entry on oeis.org

1, 3, 15, 125, 1033, 9385, 88531, 858739, 8517503, 85867417, 877145957, 9056393207, 94337137375, 990036525507, 10456495695277, 111048017798677, 1185005002916425, 12698840465721691, 136594962042690591, 1474203992211840997, 15958236903892529399, 173216891100594266403
Offset: 0

Views

Author

Paul D. Hanna, Aug 30 2014

Keywords

Comments

Self-convolution equals A246571.

Examples

			G.f.: A(x) = 1 + 3*x + 15*x^2 + 125*x^3 + 1033*x^4 + 9385*x^5 + 88531*x^6 +...
such that
A(x)^2 = 1/(1-x)^3 * (1 + x)^2 + x/(1-x)^7 * (1 + 3^2*x + 3^2*x^2 + x^3)^2
+ x^2/(1-x)^11 * (1 + 5^2*x + 10^2*x^2 + 10^2*x^3 + 5^2*x^4 + x^5)^2
+ x^3/(1-x)^15 * (1 + 7^2*x + 21^2*x^2 + 35^2*x^3 + 35^2*x^4 + 21^2*x^5 + 7^2*x^6 + x^7)^2 +...
Explicitly,
A(x)^2 = 1 + 6*x + 39*x^2 + 340*x^3 + 3041*x^4 + 28718*x^5 + 279987*x^6 +...+ A246571(n)*x^n +...
		

Crossrefs

Programs

  • PARI
    /* By definition: */
    {a(n)=local(A=1); A = sqrt( sum(m=0, n, x^m/(1-x)^(4*m+3) * sum(k=0, 2*m+1, binomial(2*m+1, k)^2 * x^k)^2 +x*O(x^n)) ); polcoeff(A, n)}
    for(n=0, 25, print1(a(n), ", "))
Showing 1-4 of 4 results.