OFFSET
0,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Expansion of f(-x^3) * a(x) in powers of x where f() is a Ramanujan theta function and a() is a cubic AGM theta function.
Expansion of q^(-1/8) * (eta(q)^3 + 9 * eta(q^9)^3) in powers of q.
G.f. is a period 1 Fourier series which satisfies f(-1 / (576 t)) = 41472^(1/2) (t / i)^(3/2) g(t) where q = exp(2 Pi i t) and g() is g.f. for A116916.
G.f.: Sum_{k} -(-1)^k * (6*k - 1) * x^(3*k*(3*k - 1)/2) + Sum_{k>0} -(-1)^k * 6 * (2*k - 1) * x^(9*k*(k - 1)/2 + 1).
a(3*n + 2) = a(5*n + 2) = a(5*n + 4) = a(9*n + 4) = a(9*n + 7) = 0. a(3*n) = A116916(n). a(9*n + 1) = 6 * A010816(n). a(25*n + 3) = 5 * a(n).
a(n) nonzero if and only if n is a triangular number.
EXAMPLE
G.f. = 1 + 6*x + 5*x^3 - 7*x^6 - 18*x^10 - 11*x^15 + 13*x^21 + 30*x^28 + ...
G.f. = q + 6*q^9 + 5*q^25 - 7*q^49 - 18*q^81 - 11*q^121 + 13*q^169 + 30*q^225 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ x]^3 + 9 x QPochhammer[ x^9]^3, {x, 0, n}]; (* Michael Somos, May 26 2014 *)
PROG
(PARI) {a(n) = local(m); if( issquare(8*n + 1, &m), (-1)^(m \ 6) * m * ((m%3 == 0) + 1), 0)};
(PARI) {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^3 + 9 * x * eta(x^9 + A)^3, n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Dec 18 2011
STATUS
approved