(MAGMAMagma) [Fibonacci(n+6)-Fibonacci(6): n in [0..40]]; // Vincenzo Librandi, Apr 24 2011
(MAGMAMagma) [Fibonacci(n+6)-Fibonacci(6): n in [0..40]]; // Vincenzo Librandi, Apr 24 2011
reviewed
approved
proposed
reviewed
editing
proposed
(PARI) for(n=1, 40, print(fibonacci(n+6)-fibonacci(6))); // _\\ _Anton Mosunov_, Mar 02 2017
approved
editing
proposed
approved
editing
proposed
a(n) = 2*a(n-1) - a(n-3). (End)
(End)
nmax:=3340: with(combinat): for n from 0 to nmax do a(n):=fibonacci(n+6)-fibonacci(6) od: seq(a(n), n=0..nmax);
f[n_] := Fibonacci[n+6] - Fibonacci[6]; Array[f, 34, 40, 0] (* or *)
LinearRecurrence[{2, 0, -1}, {0, 5, 13}, 3541] (* or *)
CoefficientList[ Series[x (3 x 3x+ 5)/(x^3 - 2 x 2x+ 1), {x, 0, 3440}], x] (* Robert G. Wilson v, Apr 11 2017 *)
(PARI) for (n=1, 40, print(fibonacci(n+6)-fibonacci(6))); // Anton Mosunov, Mar 02 2017
(PARI) concat(0, Vec(x*(5 + 3*x)/((1 - x)*(1 - x - x^2)) + O(x^3040))) \\ Colin Barker, Apr 20 2017
(Sage) [fibonacci(n+6)-8 for n in (0..40)] # G. C. Greubel, Jul 13 2019
(GAP) List([0..40], n-> Fibonacci(n+6)-8) # G. C. Greubel, Jul 13 2019
approved
editing
proposed
approved
editing
proposed