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!)
A077883 Expansion of (1-x)^(-1)/(1-x^2+x^3). 1
1, 1, 2, 1, 2, 0, 2, -1, 3, -2, 5, -4, 8, -8, 13, -15, 22, -27, 38, -48, 66, -85, 115, -150, 201, -264, 352, -464, 617, -815, 1082, -1431, 1898, -2512, 3330, -4409, 5843, -7738, 10253, -13580, 17992, -23832, 31573, -41823, 55406, -73395, 97230, -128800, 170626, -226029, 299427, -396654 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
G.f.: (1-x)^(-1)/(1-x^2+x^3).
a(n) = a(n-1) + a(n-2) - 2*a(n-3) + a(n-4) with a(0)=1, a(1)=1, a(2)=2, a(3)=1. - Harvey P. Dale, Mar 26 2012
MATHEMATICA
CoefficientList[Series[(1-x)^(-1)/(1-x^2+x^3), {x, 0, 60}], x] (* or *) LinearRecurrence[{1, 1, -2, 1}, {1, 1, 2, 1}, 60] (* Harvey P. Dale, Mar 26 2012 *)
PROG
(PARI) Vec((1-x)^(-1)/(1-x^2+x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 27 2012
CROSSREFS
Sequence in context: A029357 A118054 A322019 * A058666 A112181 A151676
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 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)