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!)
A166157 a(n) = (8^n+16*(-9)^n)/17. 2
1, -8, 80, -656, 6416, -53648, 515600, -4378256, 41501456, -356735888, 3344840720, -29029824656, 269858356496, -2360005731728, 21789807399440, -191710220083856, 1760576352843536, -15563712198881168 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 72*a(n-2)-a(n-1), a(0)= 1, a(1)= -8, for n>1.
G.f.: (1-7x)/(1+x-72*x^2).
a(n)= Sum_{k, 0<=k<=n} A112555(n,k)*(-9)^k.
E.g.f.: (1/17)*(exp(8*x) + 16*exp(-9*x)). - G. C. Greubel, May 01 2016
MATHEMATICA
LinearRecurrence[{-1, 72}, {1, -8}, 20] (* Harvey P. Dale, Jun 23 2012 *)
PROG
(PARI) a(n)=(8^n+16*(-9)^n)/17 \\ Charles R Greathouse IV, May 02 2016
CROSSREFS
Sequence in context: A100472 A043035 A165760 * A145729 A280121 A182604
KEYWORD
easy,sign
AUTHOR
Philippe Deléham, Oct 08 2009
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 17 21:22 EDT 2024. Contains 371767 sequences. (Running on oeis4.)