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
a(n) = A007283(n) + 2 = 3*a(n-1) - 2*a(n-2).
G.f.: (5-7*x)/((2*x-1)*(x-1)).
MATHEMATICA
#+2&/@(3 2^Range[0, 30]) (* Harvey P. Dale, Jan 23 2011 *)
PROG
(PARI) a(n)= 3<<n+2 \\ Charles R Greathouse IV, Jan 11 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Aug 10 2009
EXTENSIONS
Offset corrected by R. J. Mathar, Aug 21 2009
STATUS
approved