%I #12 Mar 12 2021 22:24:44
%S 1,0,0,1,0,1,0,0,1,1,0,0,0,0,1,1,0,0,2,0,0,0,0,1,1,0,0,0,0,0,2,0,0,2,
%T 0,1,0,0,0,1,0,0,0,0,0,2,0,0,1,0,2,0,0,1,0,0,0,0,0,1,2,0,0,1,0,0,0,0,
%U 2,0,0,0,0,0,0,2,0,0,2,0,1,0,0,0,2,0,0
%N Expansion of q * psi(q^3) * psi(q^5) in powers of q where psi() is a Ramanujan theta function.
%C Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).
%D B. C. Berndt, Ramanujan's Notebooks Part III, Springer-Verlag, see p. 377, Entry 9(iv).
%H G. C. Greubel, <a href="/A128616/b128616.txt">Table of n, a(n) for n = 1..10000</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^6) * eta(q^10))^2 / (eta(q^3) * eta(q^5)) in powers of q.
%F Euler transform of period 30 sequence [ 0, 0, 1, 0, 1, -1, 0, 0, 1, -1, 0, -1, 0, 0, 2, 0, 0, -1, 0, -1, 1, 0, 0, -1, 1, 0, 1, 0, 0, -2, ...].
%F For n>0, n in A028957 equivalent to a(n) nonzero. If a(n) nonzero, a(n) = A082451(n) and a(n) = A121362(n).
%F a(n) = (A082451(n) + A121362(n))/2.
%F G.f.: x * Product_{k>0} (1 - x^(3*k)) * (1 - x^(5*k)) * (1 + x^(6*k))^2 * (1 + x^(10*k))^2.
%e G.f. = x + x^4 + x^6 + x^9 + x^10 + x^15 + x^16 + 2*x^19 + x^24 + x^25 + 2*x^31 + ...
%t a[ n_] := If[ n < 1, 0, DivisorSum[ n, KroneckerSymbol[ -60, #] + KroneckerSymbol[ 20, #] KroneckerSymbol[ -3, n/#] &] / 2]; (* _Michael Somos_, Nov 12 2015 *)
%t a[ n_] := SeriesCoefficient[ q(QPochhammer[ q^6] QPochhammer[ q^10])^2 / (QPochhammer[ q^3] QPochhammer[ q^5]), {q, 0, n}]; (* _Michael Somos_, Nov 12 2015 *)
%o (PARI) {a(n) = if( n<1, 0, sumdiv(n, d, kronecker(-60, d) + kronecker(20, d) * kronecker(-3, n/d) )/2)};
%o (PARI) {a(n) = my(A); if( n<1, 0, n--; A = x * O(x^n); polcoeff( (eta(x^6 + A) * eta(x^10 + A))^2 / (eta(x^3 + A) * eta(x^5 + A)), n))};
%Y Cf. A082451, A121362.
%K nonn
%O 1,19
%A _Michael Somos_, Mar 13 2007