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.

A320190 Number of integer solutions to a^2 + 2*b^2 + 3*c^2 + 9*d^2 = n.

Original entry on oeis.org

1, 2, 2, 6, 6, 4, 12, 4, 2, 16, 4, 12, 30, 16, 20, 40, 14, 8, 42, 8, 28, 60, 20, 32, 44, 22, 8, 46, 28, 36, 84, 36, 18, 40, 32, 8, 80, 40, 40, 120, 36, 24, 56, 40, 44, 140, 48, 48, 126, 22, 62, 64, 40, 68, 132, 72, 52, 120, 52, 60, 136, 56, 36, 160, 46, 64, 180, 40, 48
Offset: 0

Views

Author

Seiichi Manyama, Oct 07 2018

Keywords

Comments

a(n) > 0 for n >= 0.

Crossrefs

Programs

  • Mathematica
    CoefficientList[Series[Product[EllipticTheta[3, 0, q^k], {k, 1, 3}]*EllipticTheta[3,0,q^9], {q, 0, 80}], q] (* G. C. Greubel, Oct 29 2018 *)
  • PARI
    q='q+O('q^80); Vec(prod(k=1,3, eta(q^(2*k))^5/(eta(q^k)* eta(q^(4*k)))^2 )*eta(q^(18))^5/(eta(q^9)* eta(q^(36)))^2 ) \\ G. C. Greubel, Oct 29 2018

Formula

G.f.: theta_3(q) * theta_3(q^2) * theta_3(q^3) * theta_3(q^9).