OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-2).
FORMULA
From Bruno Berselli, Sep 26 2011: (Start)
G.f.: (10-19*x)/(1-3*x+2*x^2).
a(n) = 2*a(n-1)-9 = 3*a(n-1)-2*a(n-2).
a(n) = A168415(n)+2. (End)
E.g.f.: exp(2*x) + 9*exp(x). - Elmo R. Oliveira, Nov 08 2023
MATHEMATICA
Table[2^n + 9, {n, 0, 40}] (* or *) CoefficientList[Series[(10 - 19 x)/((1 - x) (1 - 2 x)), {x, 0, 30}], x] (* Vincenzo Librandi, May 13 2014 *)
PROG
(PARI) a(n) = 1<<n + 9 \\ Michel Marcus, Jul 19 2013
(Magma) [2^n+9: n in [0..40]]; // Vincenzo Librandi, May 13 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Brad Clardy, Mar 23 2011
STATUS
approved