OFFSET
0,5
COMMENTS
Also binomial transform of (-1 followed by A000071).
LINKS
Index entries for linear recurrences with constant coefficients, signature (5, -7, 2).
FORMULA
a(n)=5a(n-1)-7a(n-2)+2a(n-3).
a(n+1)-2a(n) = A001519(n).
O.g.f.: (3x-1)(x-1)/((1-3x+x^2)(2x-1)). - R. J. Mathar, Aug 02 2008
MATHEMATICA
LinearRecurrence[{5, -7, 2}, {-1, -1, -1}, 40] (* Harvey P. Dale, Sep 03 2018 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Jun 06 2008
EXTENSIONS
Edited and extended by R. J. Mathar, Aug 02 2008
STATUS
approved