OFFSET
0,2
COMMENTS
Binomial transform of A083594.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..238
Index entries for linear recurrences with constant coefficients, signature (1,2).
FORMULA
a(n) = (7*2^n - 4(-1)^n)/3 .
G.f.: (1+5*x)/((1-2*x)*(1+x)).
E.g.f.: (7*exp(2*x) - 4*exp(-x))/3.
MATHEMATICA
LinearRecurrence[{1, 2}, {1, 6}, 40] (* Harvey P. Dale, Aug 13 2019 *)
PROG
(Magma) [(7*2^n-4*(-1)^n)/3: n in [0..40]]; // Vincenzo Librandi, Apr 28 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, May 02 2003
STATUS
approved