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!)
A078056 Expansion of (1-x)/(1+2*x-x^2-x^3). 1
1, -3, 7, -16, 36, -81, 182, -409, 919, -2065, 4640, -10426, 23427, -52640, 118281, -265775, 597191, -1341876, 3015168, -6775021, 15223334, -34206521, 76861355, -172705897, 388066628, -871977798, 1959316327, -4402543824, 9892426177, -22228079851, 49946042055, -112227737784 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Absolute values of pairwise sums are in A052534.
LINKS
FORMULA
G.f.: (1-x)/(1+2*x-x^2-x^3).
a(n) = -2*a(n-1) + a(n-2) + a(n-3). - Wesley Ivan Hurt, Dec 29 2023
MATHEMATICA
CoefficientList[Series[(1-x)/(1+2*x-x^2-x^3), {x, 0, 60}], x] (* Harvey P. Dale, Feb 20 2020 *)
PROG
(PARI) Vec((1-x)/(1+2*x-x^2-x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 27 2012
(Magma) R<x>:=PowerSeriesRing(Integers(), 40); Coefficients(R!((1-x)/(1+2*x-x^2-x^3))); // Vincenzo Librandi, Feb 21 2020
CROSSREFS
Cf. A052534.
Sequence in context: A218983 A020746 A033303 * A173761 A361507 A124671
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 15:00 EDT 2024. Contains 371989 sequences. (Running on oeis4.)