OFFSET
1,6
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 1, 0, 2).
FORMULA
O.g.f.: -x*(1+x+x^2)/(-1+x^3+2*x^5) . - R. J. Mathar, Jan 07 2008
EXAMPLE
a(14) = a(11) + 2a(9) = 9 + 2*5 = 19
MATHEMATICA
LinearRecurrence[{0, 0, 1, 0, 2}, {1, 1, 1, 1, 1}, 50] (* Harvey P. Dale, Jan 16 2012 *)
PROG
(PARI) a(n)=([0, 1, 0, 0, 0; 0, 0, 1, 0, 0; 0, 0, 0, 1, 0; 0, 0, 0, 0, 1; 2, 0, 1, 0, 0]^(n-1)*[1; 1; 1; 1; 1])[1, 1] \\ Charles R Greathouse IV, Oct 03 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
David Eppstein, Jan 04 2008
STATUS
approved