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

A259825 a(n) = 12*H(n) where H() is the Hurwitz class number.

Original entry on oeis.org

-1, 0, 0, 4, 6, 0, 0, 12, 12, 0, 0, 12, 16, 0, 0, 24, 18, 0, 0, 12, 24, 0, 0, 36, 24, 0, 0, 16, 24, 0, 0, 36, 36, 0, 0, 24, 30, 0, 0, 48, 24, 0, 0, 12, 48, 0, 0, 60, 40, 0, 0, 24, 24, 0, 0, 48, 48, 0, 0, 36, 48, 0, 0, 60, 42, 0, 0, 12, 48, 0, 0, 84, 36, 0, 0
Offset: 0

Views

Author

Michael Somos, Jul 05 2015

Keywords

Comments

Coefficients of q-expansion of Eisenstein series G_{3/2}(tau) multiplied by 12. - N. J. A. Sloane, Mar 16 2019

Examples

			G.f. = -1 + 4*x^3 + 6*x^4 + 12*x^7 + 12*x^8 + 12*x^11 + 16*x^12 + 24*x^15 + ...
		

Crossrefs

Programs

  • Mathematica
    terms = 100; gf[m_] := With[{r = Range[-m, m]}, -2 Sum[(-1)^k*x^(k^2 + k)/(1 + (-x)^k)^2, {k, r}]/EllipticTheta[3, 0, x] - 2 Sum[(-1)^k*x^(k^2 + 2 k)/(1 + x^(2 k))^2, {k, r}]/EllipticTheta[3, 0, -x]]; gf[terms // Sqrt // Ceiling] + O[x]^terms // CoefficientList[#, x]& (* Jean-François Alcover, Apr 02 2017 *)
    a[ n_] := If[ n<1, -Boole[n==0], With[{m = Floor[(-1 + Sqrt[1 + 4*n])/2]}, -2*SeriesCoefficient[ Sum[(-1)^k*x^(k^2 + k)/(1 + (-x)^k)^2, {k, -m-1,m}] / EllipticTheta[3, 0, x] + Sum[(-1)^k*x^(k^2 + 2*k)/(1 + x^(2*k))^2, {k, -m-2,m}]/ EllipticTheta[3, 0, -x], {x, 0, n}]]]; (* Michael Somos, Feb 04 2022 *)
  • PARI
    {a(n) = 12 * qfbhclassno(n)};
    
  • PARI
    {a(n) = my(D, f); 12 * if( n<1, (n==0)/-12, [D, f] = core(-n, 1); if( D%4>1 && !(f%2), D*=4; f/=2); if( D%4<2, qfbclassno(D) / max(1, D+6), 0) * sumdiv(f, d, moebius(d) * kronecker(D, d) * sigma(f/d)))};

Formula

a(n) = 12 * A058305(n) / A058306(n). a(4*n + 1) = a(4*n + 2) = 0. a(3*n + 4) = 6 * A259827(n).
a(4*n + 3) = 4 * A130695(n). a(8*n + 3) = A005886(n) = 2 * A005869(n) = 4 * A008443(n). a(12*n + 7) = 12 * A259655(n).
a(16*n + 4) = 6 * A045834(n) = 3 * A005876(n). a(16*n + 8) = 12 * A045828(n) = 6 * A005884(n) = 3 * A005877(n).
a(24*n + 3) = 4 * A213627(n). a(24*n + 7) = 12 * A185220(n). a(24*n + 11) = 12 * A213617(n). a(24*n + 19) = 12 * A181648(n). a(24*n + 23) = 12 * A188569(n+1).
a(32*n + 4) = 6 * A213022(n). a(32*n + 8) = 12 * A213625(n). a(32*n + 12) = 16 * A008443(n) = 8 * A005869(n) = 4 * A005886(n) = 2 * A005878(n). a(32*n + 20) = 24 * A045831(n) = 6 * A004024(n). a(32*n + 24) = 24 * A213624(n).
G.f.: -2 * (Sum_{k in Z} (-1)^k * x^(k*k + k) / (1 + (-x)^k)^2) / (Sum_{k in Z} x^k^2) - 2 * (Sum_{k in Z} (-1)^k * x^(k^2 + 2*k) / (1 + x^(2*k))^2) / (Sum_{k in Z} (-x)^k^2).
a(n) >= 0 if n > 0. - Michael Somos, Feb 04 2022

A259655 Expansion of psi(x^2) * f(-x^3)^3 / f(-x) in powers of x where psi(), f() are Ramanujan theta functions.

Original entry on oeis.org

1, 1, 3, 1, 4, 1, 5, 2, 5, 2, 5, 3, 7, 1, 7, 2, 9, 3, 7, 2, 6, 4, 11, 3, 8, 3, 10, 3, 8, 4, 9, 3, 14, 2, 10, 2, 15, 6, 7, 5, 7, 3, 14, 5, 14, 3, 16, 5, 8, 4, 13, 5, 13, 3, 12, 4, 18, 5, 14, 4, 13, 5, 15, 4, 15, 5, 16, 7, 9, 6, 11, 7, 22, 3, 16, 3, 19, 7, 16
Offset: 0

Views

Author

Michael Somos, Jul 02 2015

Keywords

Comments

Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).
Cubic AGM theta functions: a(q) (see A004016), b(q) (A005928), c(q) (A005882).

Examples

			G.f. = 1 + x + 3*x^2 + x^3 + 4*x^4 + x^5 + 5*x^6 + 2*x^7 + 5*x^8 + ...
G.f. = q^7 + q^19 + 3*q^31 + q^43 + 4*q^55 + q^67 + 5*q^79 + 2*q^91 + ...
		

Crossrefs

Programs

  • Mathematica
    a[ n_] := SeriesCoefficient[ QPochhammer[ -x, x] QPochhammer[ -x^2, x^2]^2 QPochhammer[ x^3]^3, {x, 0, n}];
    a[ n_] := SeriesCoefficient[ QPochhammer[ x^3]^3 EllipticTheta[ 2, 0, x] / (2 x^(1/4) QPochhammer[ x]), {x, 0, n}];
  • PARI
    {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^3 + A)^3 * eta(x^4 + A)^2 / (eta(x + A) * eta(x^2 + A)), n))};

Formula

Expansion of psi(x^2) * c(x) / (3 * x^(1/3)) in powers of x where psi() is a Ramanujan theta function and c() is a cubic AGM function.
Expansion of f(-x^3)^3 / (chi(-x) * chi(-x^2)^2) in powers of x where chi(), f() are Ramanujan theta functions.
Expansion of q^(-7/12) * eta(q^3)^3 * eta(q^4)^2 / (eta(q) * eta(q^2)) in powers of q.
Euler transform of period 12 sequence [ 1, 2, -2, 0, 1, -1, 1, 0, -2, 2, 1, -3, ...].
G.f.: Product_{k>0} (1 + x^k) * (1 + x^(2*k))^2 * (1 - x^(3*k))^3.
a(2*n) = A185220(n). a(2*n + 1) = A181648(n).
Showing 1-2 of 2 results.