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”).

A078049
Expansion of (1-x)/(1+x+2*x^2-x^3).
2
1, -2, 0, 5, -7, -3, 22, -23, -24, 92, -67, -141, 367, -152, -723, 1394, -100, -3411, 5005, 1717, -15138, 16709, 15284, -63840, 49981, 92983, -256785, 120800, 485753, -984138, 133432, 2320597, -3571599, -936163, 10399958, -12099231, -9636848, 44235268, -37060803, -61046581, 179403455
OFFSET
0,2
LINKS
FORMULA
G.f.: (-1 + x)/(-1 - x - 2*x^2 + x^3). - Michael De Vlieger, Jan 09 2020
MATHEMATICA
LinearRecurrence[{-1, -2, 1}, {1, -2, 0}, 50] (* Harvey P. Dale, Oct 27 2015 *)
PROG
(PARI) Vec((1-x)/(1+x+2*x^2-x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 27 2012
CROSSREFS
First differences of A077978.
Sequence in context: A197877 A104555 A140571 * A021490 A084258 A171016
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
EXTENSIONS
Deleted certain dangerous or potentially dangerous links. - N. J. A. Sloane, Jan 30 2021
STATUS
approved