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

%I

%S 1,-1,5,-12,36,-100,285,-805,2281,-6456,18280,-51752,146521,-414825,

%T 1174445,-3325060,9413836,-26652236,75457205,-213632717,604832081,

%U -1712386800,4848070480,-13725746640,38860021041,-110019605841,311485000405,-881869233532,2496728073716,-7068679614900

%N Expansion of (1 - x)^(-1)/(1 + 2*x - 2*x^2 + x^3).

%H Vincenzo Librandi, <a href="/A077918/b077918.txt">Table of n, a(n) for n = 0..1000</a>

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (-1,4,-3,1).

%t 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 *)

%o (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

%K sign,easy

%O 0,3

%A _N. J. A. Sloane_, Nov 17 2002

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 October 6 20:00 EDT 2022. Contains 357270 sequences. (Running on oeis4.)