login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A035302 a(n+1)=2a(n)-4a(n-1)+4a(n-2). 2
0, 1, -2, -8, -4, 16, 16, -48, -96, 64, 320, 0, -1024, -768, 2560, 4096, -5120, -16384, 4096, 53248, 24576, -147456, -180224, 327680, 786432, -458752, -2752512, -524288, 8126464, 7340032, -19922944, -36700160, 35651584 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 0..1000

FORMULA

G.f.: (x-4*x^2)/(1-2*x+4*x^2-4*x^3).

PROG

(Haskell)

a035302 n = a035302_list !! (n-1)

a035302_list = 0 : 1 : (-2) :

   zipWith (+) (drop 2 $ map (* 2) a035302_list)

               (map (* 4) $ zipWith (-) a035302_list $ tail a035302_list)

-- Reinhard Zumkeller, Mar 18 2012

CROSSREFS

Cf. A007420.

Sequence in context: A209874 A175181 A110003 * A104772 A264142 A088156

Adjacent sequences:  A035299 A035300 A035301 * A035303 A035304 A035305

KEYWORD

sign

AUTHOR

N. J. A. Sloane.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 25 23:08 EST 2020. Contains 331270 sequences. (Running on oeis4.)