OFFSET
0,2
COMMENTS
Binomial transform of A085279.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (8,-19,12).
FORMULA
a(n) = 3^n+4^n/3-1/3.
MATHEMATICA
Table[(3^n + 4^n/3 - 1/3), {n, 0, 30}] (* Vincenzo Librandi, May 26 2013 *)
CoefficientList[Series[(1-4x+x^2)/((1-x)(1-3x)(1-4x)), {x, 0, 30}], x] (* Harvey P. Dale, Jan 02 2021 *)
PROG
(Magma) [3^n+4^n/3-1/3: n in [0..30]]; // Vincenzo Librandi, May 26 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Jun 25 2003
STATUS
approved