login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078058 Expansion of (1-x)/(1+2*x-x^2+x^3). 1
1, -3, 7, -18, 46, -117, 298, -759, 1933, -4923, 12538, -31932, 81325, -207120, 527497, -1343439, 3421495, -8713926, 22192786, -56520993, 143948698, -366611175, 933692041, -2377943955, 6056191126, -15424018248, 39282171577, -100044552528, 254795294881, -648917313867 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..29.

Index entries for linear recurrences with constant coefficients, signature (-2,1,-1).

FORMULA

a(0) = 1, a(1) = -3, a(2) = 7, a(n) = -2*a(n-1) + a(n-2) - a(n-3) for n > 2. - Harvey P. Dale, Oct 22 2011

MATHEMATICA

CoefficientList[Series[(1-x)/(1+2x-x^2+x^3), {x, 0, 30}], x] (* or *) LinearRecurrence[{-2, 1, -1}, {1, -3, 7}, 31] (* Harvey P. Dale, Oct 22 2011 *)

PROG

(PARI) Vec((1-x)/(1+2*x-x^2+x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 27 2012

CROSSREFS

Sequence in context: A191826 A318899 A114713 * A116413 A052960 A059512

Adjacent sequences:  A078055 A078056 A078057 * A078059 A078060 A078061

KEYWORD

sign,easy

AUTHOR

N. J. A. Sloane, Nov 17 2002

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 7 16:01 EDT 2020. Contains 335496 sequences. (Running on oeis4.)