OFFSET
0,3
LINKS
Eric Weisstein's World of Mathematics, Rogers-Ramanujan Continued Fraction
FORMULA
G.f.: 1/(1 + x/(1 + x/(1 + x^2/(1 + x^3/(1 + ...))))/(1 + x^2/(1 + x/(1 + x^2/(1 + x^3/(1 + ...))))^2/(1 + x^3/(1 + x/(1 + x^2/(1 + x^3/(1 + ...))))^3/(1 + ...)))), a continued fraction.
MATHEMATICA
nmax = 36; CoefficientList[Series[1/(1 + ContinuedFractionK[(x/(1 + ContinuedFractionK[x^k, 1, {k, 1, nmax}]))^k, 1, {k, 1, nmax}]), {x, 0, nmax}], x]
g[x_] := g[x] = QPochhammer[x, x^5] QPochhammer[x^4, x^5]/(QPochhammer[x^2, x^5] QPochhammer[x^3, x^5]); a[n_] := a[n] = SeriesCoefficient[g[x g[x]], {x, 0, n}]; Table[a[n], {n, 0, 36}]
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Nov 29 2017
STATUS
approved