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!)
A152239 a(n) = -5*a(n-1) + 7*a(n-2) for n > 1 with a(0) = 1 and a(1) = -7. 4
1, -7, 42, -259, 1589, -9758, 59913, -367871, 2258746, -13868827, 85155357, -522858574, 3210380369, -19711911863, 121032221898, -743144492531, 4562948015941, -28016751527422, 172024393748697, -1056239229435439 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (1 - 2*x)/(1 + 5*x - 7*x^2).
a(n) = Sum_{k=0..n} A147703(n,k)*(-8)^k.
MATHEMATICA
LinearRecurrence[{-5, 7}, {1, -7}, 20] (* Harvey P. Dale, Apr 14 2022 *)
PROG
(PARI) Vec((1-2*x)/(1+5*x-7*x^2)+O(x^99)) \\ Charles R Greathouse IV, Jan 17 2012
CROSSREFS
Cf. A147703.
Sequence in context: A033133 A082035 A127016 * A152240 A221794 A187246
KEYWORD
sign,easy,less,changed
AUTHOR
Philippe Deléham, Nov 30 2008
EXTENSIONS
Several terms corrected by Johannes W. Meijer, Aug 17 2010
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 18 16:22 EDT 2024. Contains 371780 sequences. (Running on oeis4.)