The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A152223 a(n) = -4*a(n-1) + 6*a(n-2) for n > 1 with a(0) = 1 and 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; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (1 - 2*x)/(1 + 4*x - 6*x^2).
a(n) = Sum_{k=0..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). - 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
Cf. A147703.
Sequence in context: A066534 A126474 A127017 * A152224 A238769 A280474
KEYWORD
sign,easy
AUTHOR
Philippe Deléham, Nov 29 2008
EXTENSIONS
a(17)-a(23) corrected by Charles R Greathouse IV, Jan 12 2012
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 May 19 23:42 EDT 2024. Contains 372703 sequences. (Running on oeis4.)