login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078040 Expansion of (1-x)/(1+x-2*x^2+2*x^3). 1
1, -2, 4, -10, 22, -50, 114, -258, 586, -1330, 3018, -6850, 15546, -35282, 80074, -181730, 412442, -936050, 2124394, -4821378, 10942266, -24833810, 56361098, -127913250, 290303066, -658851762, 1495284394, -3393594050, 7701866362, -17479623250, 39670544074, -90033523298 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

FORMULA

a(0)=1, a(1)=-2, a(2)=4, a(n)=a(n-1)+2*a(n-2)-2*a(n-3) [From Harvey P. Dale, Dec 09 2011]

MATHEMATICA

CoefficientList[Series[(1-x)/(1+x-2x^2+2x^3), {x, 0, 40}], x] (* or *) LinearRecurrence[{-1, 2, -2}, {1, -2, 4}, 40] (* From Harvey P. Dale, Dec 09 2011 *)

CROSSREFS

First differences of A077970.

Sequence in context: A033497 A192627 A075560 * A164990 A121285 A030234

Adjacent sequences:  A078037 A078038 A078039 * A078041 A078042 A078043

KEYWORD

sign

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Nov 17 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 21:51 EST 2012. Contains 205978 sequences.