login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A285635 G.f.: (1 - x/(1 - x^2/(1 - x^3/(1 - x^4/(1 - ...))))) / (1 + x/(1 + x^2/(1 + x^3/(1 + x^4/(1 + ...))))), a continued fraction. 3
1, -2, 2, -2, 0, 0, -2, 2, -4, 0, -2, -6, 0, -10, -6, -12, -20, -20, -40, -46, -68, -104, -132, -204, -280, -394, -578, -790, -1154, -1616, -2294, -3286, -4614, -6610, -9340, -13278, -18878, -26748, -38060, -53978, -76684, -108912, -154600, -219622, -311812, -442818, -628866, -892962, -1268168 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Eric Weisstein's World of Mathematics, Rogers-Ramanujan Continued Fraction
FORMULA
G.f.: A(x) = R(x)*Q(x)/P(x), where R(x) = Product_{k>=1} (1 - x^(5*k-1))*(1 - x^(5*k-4)) / ((1 - x^(5*k-2))*(1 - x^(5*k-3)), Q(x) = Sum_{k>=0} (-1)^k*x^(k^2) / Product_{m=1..k} (1 - x^m) and P(x) = Sum_{k>=0} (-1)^k*x^(k*(k+1)) / Product_{m=1..k} (1 - x^m).
EXAMPLE
G.f.: A(x) = 1 - 2*x + 2*x^2 - 2*x^3 - 2*x^6 + 2*x^7 - 4*x^8 - 2*x^10 - 6*x^11 - ...
MATHEMATICA
nmax = 48; CoefficientList[Series[(1/(1 + ContinuedFractionK[x^k, 1, {k, 1, nmax}]))/(1/(1 + ContinuedFractionK[-x^k, 1, {k, 1, nmax}])), {x, 0, nmax}], x]
nmax = 48; CoefficientList[Series[Product[(1 - x^(5 k - 1)) (1 - x^(5 k - 4))/((1 - x^(5 k - 2)) (1 - x^(5 k - 3))), {k, 1, nmax}] Sum[(-1)^k x^(k^2)/Product[(1 -
x^m), {m, 1, k}], {k, 0, nmax}] / Sum[(-1)^k x^(k (k + 1))/Product[(1 - x^m), {m, 1, k}], {k, 0, nmax}], {x, 0, nmax}], x]
CROSSREFS
Sequence in context: A178045 A321300 A037864 * A181674 A181676 A262048
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Apr 23 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)