OFFSET
-1,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = -1..1000
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
EXAMPLE
G.f. = 1/q + 7 + 6*q + 4*q^2 - 3*q^3 - 12*q^4 - 8*q^5 + 12*q^6 + 30*q^7 + ...
MATHEMATICA
QP = QPochhammer; s = 4*q + (QP[q^2]*(QP[q^3]^3/(QP[q]*QP[q^6]^3)))^3 + O[q]^50; CoefficientList[s, q] (* Jean-François Alcover, Nov 15 2015, adapted from PARI *)
PROG
(PARI) {a(n) = my(A); if( n<-1, 0, n++; A = x * O(x^n); polcoeff( 4*x + (eta(x^2 + A) * eta(x^3 + A)^3 / (eta(x + A) * eta(x^6 + A)^3))^3, n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, May 19 2015
STATUS
approved