OFFSET
0,2
LINKS
Bruno Berselli, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4,-2,-3).
FORMULA
G.f.: (1-2*x)*(1+2*x)/((1-3*x)*(1-x-x^2)).
MATHEMATICA
Table[3^n + Fibonacci[n], {n, 0, 27}]
PROG
(PARI) for(n=0, 27, print1(3^n+fibonacci(n)", "));
(Magma) [3^n+Fibonacci(n): n in [0..27]];
(Sage) [3^n +fibonacci(n) for n in (0..30)] # G. C. Greubel, Jul 05 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Bruno Berselli, May 08 2012
STATUS
approved