login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A077904
Expansion of (1-x)^(-1)/(1+x-2*x^3).
0
1, 0, 1, 2, -1, 4, 1, -2, 11, -8, 5, 18, -33, 44, -7, -58, 147, -160, 45, 250, -569, 660, -159, -978, 2299, -2616, 661, 3938, -9169, 10492, -2615, -15722, 36707, -41936, 10493, 62922, -146793, 167780, -41935, -251650, 587211, -671080, 167781, 1006642, -2348801, 2684364, -671079, -4026522
OFFSET
0,4
FORMULA
G.f.: G(0)/(2*(1-x^2)*(1-x)), where G(k)= 1 + 1/(1 - x*(k+1)/(x*(k+2) - 1/G(k+1))); (continued fraction). - Sergei N. Gladkovskii, May 25 2013
MATHEMATICA
LinearRecurrence[{0, 1, 2, -2}, {1, 0, 1, 2}, 60] (* Harvey P. Dale, Oct 09 2020 *)
CROSSREFS
Sequence in context: A268669 A030652 A224065 * A088964 A326721 A243792
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved