OFFSET
0,8
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,3,-2,-2).
FORMULA
G.f.: -(x^3-2*x^2-x+1)/((x^2+x-1)*(2*x^2-1)). - Colin Barker, Sep 21 2012
a(n) = a(n-1) + 3*a(n-2) - 2*a(n-3) - 2*a(n-4). - Sela Fried, Dec 08 2024
MATHEMATICA
Table[Fibonacci[n] - 2^(Floor[n/2]), {n, 0, 50}] (* G. C. Greubel, Aug 19 2017 *)
PROG
(PARI) for(n=0, 50, print1(fibonacci(n) - 2^(floor(n/2)), ", ")) \\ G. C. Greubel, Aug 19 2017
CROSSREFS
KEYWORD
sign,easy
AUTHOR
STATUS
approved