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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152223 a(n) = -4*a(n-1) + 6*a(n-2), n>1; a(0)=1, a(1)=-6. 4
1, -6, 30, -156, 804, -4152, 21432, -110640, 571152, -2948448, 15220704, -78573504, 405618240, -2093913984, 10809365376, -55800945408, 288059973888, -1487045568000, 7676542115328, -39628441869312, 204573020169216, -1056062731892736, 5451689048586240 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

LINKS

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

Index to sequences with linear recurrences with constant coefficients, signature (-4,6).

FORMULA

G.f.: (1-2x)/(1+4x-6x^2). a(n) = Sum_{k, 0<=k<=n}A147703(n,k)*(-7)^k .

a(n) = (1/2)*((-2-sqrt(10))^n+(-2+sqrt(10))^n)+(1/5)*sqrt(10)*((-2-sqrt(10))^n-(-2+sqrt(10))^n). [From Bruno Berselli, Jan 12 2012]

MATHEMATICA

LinearRecurrence[{-4, 6}, {1, -6}, 23] (* Bruno Berselli, Jan 12 2012 *)

PROG

(PARI) Vec((1-2*x)/(1+4*x-6*x^2)+O(x^99)) \\ Charles R Greathouse IV, Jan 12 2012

(Haskell)

a152223 n = a152223_list !! n

a152223_list = 1 : -6 : zipWith (-)

   (map (* 6) $ a152223_list) (map (* 4) $ tail a152223_list)

-- Reinhard Zumkeller, Jan 12 2012

CROSSREFS

Sequence in context: A126474 A127017 A152224 * A026112 A038155 A026331

Adjacent sequences:  A152220 A152221 A152222 * A152224 A152225 A152226

KEYWORD

sign,easy

AUTHOR

Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Nov 29 2008

EXTENSIONS

a(17)-a(23) corrected by Charles R Greathouse IV, Jan 12 2012

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 14 16:14 EST 2012. Contains 205635 sequences.