%I #14 Mar 12 2021 22:24:47
%S 1,2,-2,-4,0,-4,0,8,-2,6,8,-4,0,-12,0,8,-4,8,-10,-12,0,-8,0,8,8,14,8,
%T -16,0,-4,0,16,6,16,-16,-8,0,-20,0,8,-8,8,16,-20,0,-20,0,16,-8,18,-10,
%U -8,0,-12,0,24,0,16,24,-12,0,-20,0,24,12,8,-16,-28,0
%N Expansion of phi(q) * phi(-q^2) * phi(-q^4) in powers of q where phi() is a Ramanujan theta function.
%C Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).
%H G. C. Greubel, <a href="/A246816/b246816.txt">Table of n, a(n) for n = 0..1000</a>
%H Michael Somos, <a href="/A010815/a010815.txt">Introduction to Ramanujan theta functions</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/RamanujanThetaFunctions.html">Ramanujan Theta Functions</a>
%F Expansion of eta(q^2)^7 / (eta(q)^2 * eta(q^4) * eta(q^8)) in powers of q.
%F Euler transform of period 8 sequence [ 2, -5, 2, -4, 2, -5, 2, -3, ...].
%F a(n) = (-1)^floor(n/2) * A127786(n). a(2*n) = A246814(n). a(2*n + 1) = 2 * A246815(n).
%e G.f. = 1 + 2*q - 2*q^2 - 4*q^3 - 4*q^5 + 8*q^7 - 2*q^8 + 6*q^9 + 8*q^10 + ...
%t a[n_]:= SeriesCoefficient[EllipticTheta[3, 0, q]* EllipticTheta[3, 0, -q^2]*EllipticTheta[3, 0, -q^4], {q, 0, n}]; Table[a[n], {n, 0, 50}] (* _G. C. Greubel_, Nov 30 2017 *)
%o (PARI) {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^2 + A)^7 / (eta(x + A)^2 * eta(x^4 + A) * eta(x^8 + A)), n))};
%Y Cf. A127786, A246814, A246815.
%K sign
%O 0,2
%A _Michael Somos_, Sep 03 2014
|