OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,4).
FORMULA
a(n) = 4*a(n-2), n>3.
a(2n+1) = a(2n)/2, n>0.
G.f.: (1 + 2*x^3)/((1-2*x)*(2*x+1)). - R. J. Mathar, May 21 2009
a(n) = (5 + 3*(-1)^n)*2^(n-3), n>1. - R. J. Mathar, May 21 2009
E.g.f.: (1/4)*(-2*x + sinh(2*x) + 4*cosh(2*x)). - G. C. Greubel, Sep 15 2016
MATHEMATICA
Join[{1, 0}, Table[(5 + 3*(-1)^n)*2^(n - 3), {n, 2, 20}]] (* G. C. Greubel, Sep 15 2016 *)
PROG
(Magma) [1, 0] cat [(5+3*(-1)^n)*2^(n-3): n in [2..40]]; // Vincenzo Librandi, Sep 16 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jan 08 2009
EXTENSIONS
Edited by R. J. Mathar, May 21 2009
STATUS
approved