OFFSET
0,3
COMMENTS
REFERENCES
Bruce C. Berndt, Ramanujan's Notebooks Part III, Springer-Verlag, 1991, see p. 249, Entry 8(ii).
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Michael Somos, Introduction to Ramanujan theta functions, 2019.
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions.
FORMULA
Expansion of (eta(q^2)^5 * eta(q^10)^7)/(eta(q)*eta(q^4)*eta(q^5)^3 * eta(q^20)^3) in powers of q.
Euler transform of period 20 sequence [1, -4, 1, -3, 4, -4, 1, -3, 1, -8, 1, -3, 1, -4, 4, -3, 1, -4, 1, -4, ...].
a(n) is multiplicative with a(5^e) = 1, a(2^e) = ((-2)^(e+1)-1)/(-2-1)-2 if e>0, a(p^e) = (p^(e+1)-1)/(p-1) if p == 1, 9 (mod 10), a(p^e) = ((-p)^(e+1)-1)/(-p-1) if p == 3, 7 (mod 10).
G.f.: (5phi(q) phi(q^5)^3 - phi(q)^3 phi(q^5))/4 where phi(q)=1+2(q+q^4+q^9+...).
a(n) = (-1)^n * A132069(n).
Sum_{k=1..n} abs(a(k)) ~ c * n^2, where c = Pi^2/(12*sqrt(5)) = 0.367818... . - Amiram Eldar, Jan 28 2024
EXAMPLE
1 + q - 3*q^2 - 2*q^3 + q^4 + q^5 + 6*q^6 - 6*q^7 - 7*q^8 + 7*q^9 + ...
MATHEMATICA
a[n_]:= SeriesCoefficient[(5*EllipticTheta[3, 0, q]*EllipticTheta[3, 0, q^5]^3 - EllipticTheta[3, 0, q]^3*EllipticTheta[3, 0, q^5])/4, {q, 0, n}]; Table[a[n], {n, 0, 50}] (* G. C. Greubel, Dec 16 2017 *)
PROG
(PARI) a(n)=if(n<1, n==0, (-1)^n*sumdiv(n, d, kronecker(5, d)*d*(-1)^d))
(PARI) {a(n)=local(A); if(n<0, 0, A=x*O(x^n); polcoeff( eta(x^2+A)^5*eta(x^10+A)^7/(eta(x+A)*eta(x^4+A)*eta(x^5+A)^3*eta(x^20+A)^3), n))}
(PARI) {a(n)=local(A, p, e, a1); if(n<1, n==0, A=factor(n); prod(k=1, matsize(A)[1], if(p=A[k, 1], e=A[k, 2]; if(p==5, 1, if(p>2, p*=kronecker(5, p); (p^(e+1)-1)/(p-1), a1=-3; for(i=2, e, a1=-2*a1-5); a1)))))}
CROSSREFS
KEYWORD
sign,mult
AUTHOR
Michael Somos, Oct 17 2005, Mar 20 2008
STATUS
approved