OFFSET
0,1
COMMENTS
The sequence comprises, in reverse order, numbers to the right of a(0) in A249576.
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,-2,0,0,1).
FORMULA
a(n) = -2*a(n-3)+a(n-6); G.f.: -(x^4+x^2-x+2) / (x^6-2*x^3-1). - Colin Barker, Nov 02 2014
EXAMPLE
M^-1 = [[1,-4,4][-1,3,-2][1,-2,1]]. sqrt(M[1,3]) = 2; M[3,3] = M[1,1] = -1; M[3,1] = 1. Hence a(0) = 2; a(1) = -1; a(2) = 1.
MATHEMATICA
LinearRecurrence[{0, 0, -2, 0, 0, 1}, {2, -1, 1, -4, 3, -2}, 50] (* Harvey P. Dale, Aug 02 2024 *)
PROG
(PARI) Vec(-(x^4+x^2-x+2)/(x^6-2*x^3-1) + O(x^100)) \\ Colin Barker, Nov 02 2014
CROSSREFS
KEYWORD
sign,tabf,easy
AUTHOR
Russell Walsmith, Nov 01 2014
STATUS
approved