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

A001934 Expansion of 1/theta_4(q)^2 in powers of q.

Original entry on oeis.org

1, 4, 12, 32, 76, 168, 352, 704, 1356, 2532, 4600, 8160, 14176, 24168, 40512, 66880, 108876, 174984, 277932, 436640, 679032, 1046016, 1597088, 2418240, 3632992, 5417708, 8022840, 11802176, 17252928, 25070568, 36223424, 52053760, 74414412
Offset: 0

Views

Author

Keywords

Comments

Euler transform of period 2 sequence [ 4, 2, ...].
The Cayley reference actually is to A004403. - Michael Somos, Feb 24 2011
Number of overpartition pairs, see Lovejoy reference. - _Joerg Arndt, Apr 03 2011
In general, if g.f. = Product_{k>=1} ((1+x^k)/(1-x^k))^m and m>=1, then a(n) ~ exp(Pi*sqrt(m*n)) * m^((m+1)/4) / (2^(3*(m+1)/2) * n^((m+3)/4)). - Vaclav Kotesovec, Aug 17 2015

References

  • A. Cayley, A memoir on the transformation of elliptic functions, Collected Mathematical Papers. Vols. 1-13, Cambridge Univ. Press, London, 1889-1897, Vol. 9, p. 128.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Julia
    # JacobiTheta4 is defined in A002448.
    A001934List(len) = JacobiTheta4(len, -2)
    A001934List(33) |> println # Peter Luschny, Mar 12 2018
  • Maple
    mul((1+x^n)^2/(1-x^n)^2,n=1..256);
  • Mathematica
    CoefficientList[Series[1/EllipticTheta[4, 0, q]^2, {q, 0, 32}], q]  (* Jean-François Alcover, Jul 18 2011 *)
    nmax = 40; CoefficientList[Series[Product[((1 + x^k)/(1 - x^k))^2, {k, 1, nmax}], {x, 0, nmax}], x] (* Vaclav Kotesovec, Aug 17 2015 *)
    QP = QPochhammer; s = QP[q^2]^2/QP[q]^4 + O[q]^40; CoefficientList[s, q] (* Jean-François Alcover, Dec 01 2015, adapted from PARI *)
  • PARI
    my(N=33, x='x+O('x^N)); Vec(prod(i=1, N, (1+x^i)^2/(1-x^i)^2))
    
  • PARI
    {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^2 + A)^2 / eta(x + A)^4, n))} /* Michael Somos, Feb 09 2006 */
    

Formula

G.f.: Product ( 1 - x^k )^{-c(k)}, c(k) = 4, 2, 4, 2, 4, 2, ....
G.f.: Product{i>=1} (1+x^i)^2/(1-x^i)^2. - Jon Perry, Apr 04 2004
Expansion of eta(q^2)^2/eta(q)^4 in powers of q, where eta(x)=prod(n>=1,1-q^n).
a(n) = (-1)^n * A004403(n). a(n) = 4 * A002318(n) unless n=0. - Michael Somos, Feb 24 2011
a(n) ~ exp(Pi*sqrt(2*n)) / (2^(15/4) * n^(5/4)) * (1 - 15/(8*Pi*sqrt(2*n)) + 105/(256*Pi^2*n)). - Vaclav Kotesovec, Aug 17 2015, extended Jan 22 2017
a(0) = 1, a(n) = (4/n)*Sum_{k=1..n} A002131(k)*a(n-k) for n > 0. - Seiichi Manyama, May 02 2017
G.f.: exp(2*Sum_{k>=1} (sigma(2*k) - sigma(k))*x^k/k). - Ilya Gutkovskiy, Sep 19 2018
The g.f. A(q^2) = 1/(F(q)*F(-q)), where F(q) = theta_3(q) = Sum_{n = -oo..oo} q^(n^2) is the g.f. of A000122. Cf. A002513. - Peter Bala, Sep 26 2023

Extensions

More terms from James Sellers, Sep 08 2000
Edited by N. J. A. Sloane, May 13 2008 to remove an incorrect g.f.

A004404 Expansion of 1 / (Sum_{n=-oo..oo} x^(n^2))^3.

Original entry on oeis.org

1, -6, 24, -80, 234, -624, 1552, -3648, 8184, -17654, 36816, -74544, 147056, -283440, 535008, -990912, 1803882, -3232224, 5707624, -9943536, 17106960, -29088352, 48922320, -81438528, 134261584, -219336630, 355242288
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Maple
    S:= series(1/JacobiTheta3(0,x)^3,x,101):
    seq(coeff(S,x,j),j=0..100); # Robert Israel, Dec 29 2015
  • Mathematica
    nmax = 30; CoefficientList[Series[Product[((1 + (-x)^k)/(1 - (-x)^k))^3, {k, 1, nmax}], {x, 0, nmax}], x] (* Vaclav Kotesovec, Aug 18 2015 *)

Formula

a(n) ~ (-1)^n * 3*exp(Pi*sqrt(3*n)) / (64*n^(3/2)) * (1 - sqrt(3)/(Pi*sqrt(n))). - Vaclav Kotesovec, Aug 18 2015, extended Jan 16 2017

A288515 Square array A(n,k), n>=0, k>=0, read by antidiagonals, where column k is the expansion of Product_{j>=1} ((1 + x^j)/(1 - x^j))^k.

Original entry on oeis.org

1, 1, 0, 1, 2, 0, 1, 4, 4, 0, 1, 6, 12, 8, 0, 1, 8, 24, 32, 14, 0, 1, 10, 40, 80, 76, 24, 0, 1, 12, 60, 160, 234, 168, 40, 0, 1, 14, 84, 280, 552, 624, 352, 64, 0, 1, 16, 112, 448, 1110, 1712, 1552, 704, 100, 0, 1, 18, 144, 672, 2004, 3912, 4896, 3648, 1356, 154, 0, 1, 20, 180, 960, 3346, 7896, 12600, 13120, 8184, 2532, 232, 0
Offset: 0

Views

Author

Ilya Gutkovskiy, Jun 10 2017

Keywords

Examples

			Square array begins:
1,   1,    1,    1,     1,     1,  ...
0,   2,    4,    6,     8,    10,  ...
0,   4,   12,   24,    40,    60,  ...
0,   8,   32,   80,   160,   280,  ...
0,  14,   76,  234,   552,  1110,  ...
0,  24,  168,  624,  1712,  3913,  ...
		

Crossrefs

Columns k=0-24 give: A000007, A015128, A001934, A004404 (alternating values), A284286, A004406-A004425 (alternating values).
Rows n=0-2 give: A000012, A005843, A046092.
Main diagonal gives A270919.
Antidiagonal sums give A299108.

Programs

  • Julia
    # JacobiTheta4 is defined in A002448.
    A288515Column(k, len) = JacobiTheta4(len, -k)
    for k in 0:8 A288515Column(k, 8) |> println end # Peter Luschny, Mar 12 2018
  • Mathematica
    Table[Function[k, SeriesCoefficient[Product[((1 + x^i)/(1 - x^i))^k, {i, 1, n}], {x, 0, n}]][j - n], {j, 0, 11}, {n, 0, j}] // Flatten
    Table[Function[k, SeriesCoefficient[1/EllipticTheta[4, 0, x]^k, {x, 0, n}]][j - n], {j, 0, 11}, {n, 0, j}] // Flatten

Formula

G.f. of column k: Product_{j>=1} ((1 + x^j)/(1 - x^j))^k.
G.f. of column k: 1/theta_4(x)^k, where theta_4() is the Jacobi theta function.
For asymptotics of column k see comment from Vaclav Kotesovec in A001934.
Showing 1-3 of 3 results.