OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-2).
FORMULA
G.f.: ( -8+17*x ) / ( (2*x-1)*(x-1) ). - R. J. Mathar, Dec 17 2012
E.g.f.: exp(2*x) - 9*exp(x). - G. C. Greubel, Jun 28 2017
From Elmo R. Oliveira, Nov 08 2023: (Start)
a(n) = 2*a(n-1) + 9 with a(0) = -8.
a(n) = 3*a(n-1) - 2*a(n-2) for n > 1. (End)
MAPLE
MATHEMATICA
Table[2^n - 9, {n, 0, 40}] (* T. D. Noe, Dec 04 2012 *)
PROG
(PARI) a(n)=2^n-9 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Andreas Rieber, Dec 04 2012
STATUS
approved