OFFSET
0,1
COMMENTS
a(n) = A000071(n+2) if the initial conditions are a(0)=0, a(1)=1, a(2)=2.
LINKS
FORMULA
G.f.: (x^2-2*x+2)/((x-1)*(x^2+x-1)).
a(n) = 3*F(n+1)-1.
a(n) = F(n-1)+F(n+3)-1.
a(n) = 2*F(n+1)-F(n+2)+F(n+3)-1.
a(n) = A022086(n+1) - 1.
E.g.f.: 3*exp(x/2)*(5*cosh(sqrt(5)*x/2) + sqrt(5)*sinh(sqrt(5)*x/2))/5 - exp(x). - Stefano Spezia, Nov 04 2024
MATHEMATICA
LinearRecurrence[{2, 0, -1}, {2, 2, 5}, 38] (* James C. McMahon, Nov 21 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Enrique Navarrete, Nov 02 2024
STATUS
approved