OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-2,-1,1).
FORMULA
a(n) = Fibonacci(n+7) - (11+3*n).
G.f.: (2+x)/((1-x-x^2)*(1-x)^2).
MATHEMATICA
Table[Fibonacci[n+7] -3*n-11, {n, 0, 40}] (* G. C. Greubel, Jul 05 2019 *)
PROG
(PARI) vector(40, n, n--; fibonacci(n+7) -3*n-11) \\ G. C. Greubel, Jul 05 2019
(Magma) [Fibonacci(n+7) -3*n-11: n in [0..40]]; // G. C. Greubel, Jul 05 2019
(Sage) [fibonacci(n+7) -3*n-11 for n in (0..40)] # G. C. Greubel, Jul 05 2019
(GAP) List([0..40], n-> Fibonacci(n+7) -3*n-11) # G. C. Greubel, Jul 05 2019
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
STATUS
approved