OFFSET
0,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..2500
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Euler transform of period 20 sequence [ 2, 0, 1, 3, 2, 1, 1, 1, 2, -2, 2, 1, 1, 1, 2, 3, 1, 0, 2, 0, ...].
a(n) = - A132225(5*n) unless n=0.
a(n) ~ exp(2*Pi*sqrt(n/5)) * phi / (2 * 5^(5/4) * n^(3/4)), where phi = A001622 = (1 + sqrt(5))/2 is the golden ratio. - Vaclav Kotesovec, Jul 04 2018
EXAMPLE
G.f. = 1 + 2*x + 3*x^2 + 5*x^3 + 10*x^4 + 17*x^5 + 26*x^6 + 39*x^7 + ...
MATHEMATICA
QP := QPochhammer; f[x_, y_] := QP[-x, x*y]*QP[-y, x*y]*QP[x*y, x*y]; A:= f[-x^3, -x^7]*f[x^4, x^6]/f[-x, - x^3]^2; a:=CoefficientList[Series[ A, {x, 0, 60}], x]; Table[a[[n]], {n, 1, 50}] (* G. C. Greubel, Jul 04 2018 *)
PROG
(PARI) {a(n) = if( n<0, 0, polcoeff( prod(k=1, n, (1 - x^k + x * O(x^n))^ [ 0, -2, 0, -1, -3, -2, -1, -1, -1, -2, 2, -2, -1, -1, -1, -2, -3, -1, 0, -2] [k%20 + 1]), n))};
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Jun 25 2015
STATUS
approved
