A239051 Expansion of (f(-q^2, -q^3)^5 - 3 * q * f(-q, -q^4)^5) / f(-q)^3 in powers of q where f() is a Ramanujan theta function.
1, 0, 10, -10, 10, 0, 0, 10, 0, -10, 10, 0, 10, -10, 20, -10, 0, 10, -10, 0, 10, 0, 20, -10, 0, 0, 0, 0, 10, 0, 0, 0, 10, -20, 20, 10, 0, 10, 0, -20, 0, 0, 20, -10, 20, -10, 0, 10, -10, 10, 10, 0, 10, -10, 0, 0, 0, 0, 0, 0, 10, 0, 20, -10, 10, -10, 0, 10, 10
Offset: 0
Keywords
Examples
G.f. = 1 + 10*q^2 - 10*q^3 + 10*q^4 + 10*q^7 - 10*q^9 + 10*q^10 + 10*q^12 + ...
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
Programs
-
Magma
Basis( ModularForms( Gamma1(5), 1), 70) [1];
-
Mathematica
a[ n_] := If[ n < 1, Boole[ n == 0], 10 Sum[ {0, 1, -1, 0, 0}[[ Mod[ d, 5, 1] ]], {d, Divisors @ n}]];
-
PARI
{a(n) = if( n<1, n==0, 10 * sumdiv(n, d, (d%5==2) - (d%5==3)))};
-
Sage
ModularForms( Gamma1(5), 1, prec=70).0;
Comments