OFFSET
0,1
COMMENTS
This is the sequence "ves(n)".
LINKS
Index entries for linear recurrences with constant coefficients, signature (-4,0,4,1).
FORMULA
a(n) = -(-1)^n - (1/6)*( ( -sqrt(3) - 2 )^n + ( sqrt(3) - 2 )^n ) - 2/3. - Eric Simon Jacob, Aug 18 2023
MATHEMATICA
CoefficientList[Series[-(2+7x-x^3)/(1+4x-4x^3-x^4), {x, 0, 40}], x] (* or *) LinearRecurrence[{-4, 0, 4, 1}, {-2, 1, -4, 9}, 40] (* Harvey P. Dale, Aug 11 2021 *)
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, following a suggestion of Creighton Dement, Sep 06 2004
STATUS
approved