OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,0,2).
FORMULA
a(n) = a(n-8) + 5*A094958(n-5).
a(2*n) = A001045(n+2).
a(2*n+1) = A084214(n+1).
From Stefano Spezia, Aug 20 2022: (Start)
O.g.f.: (1 + x + 2*x^2 + 3*x^3)/((1 + x^2)*(1 - 2*x^2)).
E.g.f.: (8*cosh(sqrt(2)*x) - 2*cos(x) + 5*sqrt(2)*sinh(sqrt(2)*x) - 4*sin(x))/6. (End)
MATHEMATICA
LinearRecurrence[{0, 1, 0, 2}, {1, 1, 3, 4}, 50] (* Amiram Eldar, Aug 19 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Aug 19 2022
STATUS
approved