OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,3,-2,-2)
FORMULA
a(n)=Fib(n+2)-2^floor(n/2)(1-(1)^(n+1))/2
G.f.: -x*(-2+x+2*x^2) / ( (x^2+x-1)*(2*x^2-1) ). - R. J. Mathar, Feb 13 2015
EXAMPLE
a(2n) = Fib(2n+2) - 2^(n/2). a(2n+1) = Fib(2n+3)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Feb 08 2003
STATUS
approved