login
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
OFFSET
0,2
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
KEYWORD
easy,sign
AUTHOR
Philippe Deléham, Oct 08 2009
STATUS
approved