OFFSET
0,2
COMMENTS
REFERENCES
J. H. Conway and N. J. A. Sloane, "Sphere Packings, Lattices and Groups", Springer-Verlag, p. 110.
B. C. Berndt, Ramanujan's Notebooks Part V, Springer-Verlag, see p. 124, Equation (7.19).
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
G. Nebe and N. J. A. Sloane, Home page for hexagonal (or triangular) lattice A2
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Expansion of (theta_3(z)*theta_3(3z) + theta_2(z)*theta_2(3z))^3.
Expansion of a(q)^3 in powers of q where a() is a cubic AGM function. - Michael Somos, Sep 04 2008
Expansion of (eta(q)^12 + 27 * eta(q^3)^12) / (eta(q) * eta(q^3))^3 in powers of q. - Michael Somos, Sep 04 2008
Expansion of (f(-q)^12 + 27 * q * f(-q^3)^12) / (f(-q) * f(-q^3))^3 in powers of q where f() is a Ramanujan theta function. - Michael Somos, Sep 04 2008
G.f. is a period 1 Fourier series which satisfies f(-1 / (3 t)) = 3^(3/2) (t/i)^3 f(t) where q = exp(2 Pi i t). - Michael Somos, Sep 04 2008
EXAMPLE
G.f. = 1 + 18*q + 108*q^2 + 234*q^3 + 234*q^4 + 864*q^5 + 756*q^6 + 900*q^7 + ...
MATHEMATICA
a[ n_] := With[ {A = QPochhammer[ q]^3, A3 = QPochhammer[ q^3]^3}, SeriesCoefficient[ (A^4 + 27 q A3^4) / (A A3), {q, 0, n}]]; (* Michael Somos, Oct 22 2017 *)
PROG
(PARI) {a(n) = my(A, A3); if( n<0, 0, A = x * O(x^n); A3 = eta(x^3 + A)^3; A = eta(x + A)^3; polcoeff( (A^4 + 27 * x * A3^4) / (A * A3), n))}; /* Michael Somos, Sep 04 2008 */
(Magma) A := Basis( ModularForms( Gamma1(3), 3), 39); A[1] + 18*A[2]; /* Michael Somos, Aug 26 2015 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Michael Somos, Sep 04 2008
STATUS
approved
