OFFSET
0,2
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..280
Index entries for linear recurrences with constant coefficients, signature (2,0,-1).
FORMULA
a(n) = F(n+7) - F(7) with F = A000045.
a(n) = a(n-1) + a(n-2) + 13 for n>1, a(0)=0, a(1)=8, and where 13 = F(7).
G.f.: x*(8 + 5*x)/((1 - x)*(1 - x - x^2)). - Ilya Gutkovskiy, Feb 24 2017
From Colin Barker, Feb 24 2017: (Start)
a(n) = (-13 + (2^(-1-n)*((1-sqrt(5))^n*(-29+13*sqrt(5)) + (1+sqrt(5))^n*(29+13*sqrt(5)))) / sqrt(5)).
a(n) = 2*a(n-1) - a(n-3) for n>2. (End)
MAPLE
nmax:=40: with(combinat): for n from 0 to nmax do a(n):=fibonacci(n+7)-fibonacci(7) od: seq(a(n), n=0..nmax);
MATHEMATICA
Fibonacci[7 +Range[0, 40]] -13 (* G. C. Greubel, Jul 13 2019 *)
PROG
(Magma) [Fibonacci(n+7) - Fibonacci(7): n in [0..40]]; // Vincenzo Librandi, Apr 24 2011
(PARI) concat(0, Vec(x*(8+5*x)/((1-x)*(1-x-x^2)) + O(x^40))) \\ Colin Barker, Feb 24 2017
(PARI) a(n)=fibonacci(n+7)-fibonacci(7) \\ Charles R Greathouse IV, Feb 24 2017
(Sage) [fibonacci(n+7)-13 for n in (0..40)] # G. C. Greubel, Jul 13 2019
(GAP) List([0..40], n-> Fibonacci(n+7)-13 ); # G. C. Greubel, Jul 13 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Johannes W. Meijer, Sep 21 2010
STATUS
approved