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!)
A077918 Expansion of (1 - x)^(-1)/(1 + 2*x - 2*x^2 + x^3). 1
1, -1, 5, -12, 36, -100, 285, -805, 2281, -6456, 18280, -51752, 146521, -414825, 1174445, -3325060, 9413836, -26652236, 75457205, -213632717, 604832081, -1712386800, 4848070480, -13725746640, 38860021041, -110019605841, 311485000405, -881869233532, 2496728073716, -7068679614900 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
MATHEMATICA
CoefficientList[Series[(1-x)^(-1)/(1+2x-2x^2+x^3), {x, 0, 30}], x] (* or *) LinearRecurrence[{-1, 4, -3, 1}, {1, -1, 5, -12}, 30] (* Harvey P. Dale, Jun 25 2017 *)
PROG
(Magma) I:=[1, -1, 5, -12]; [n le 4 select I[n] else -Self(n-1)+4*Self(n-2)-3*Self(n-3)+Self(n-4): n in [1..30]]; // Vincenzo Librandi, Jun 28 2017
CROSSREFS
Sequence in context: A185699 A301873 A368094 * A300534 A359189 A297909
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 | 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.)