OFFSET
0,6
COMMENTS
Numbers to the left of a(0) are in A249577.
Some identities:
a(3n - 2) + a(3n - 1) = a(3n + 1).
a(3n) + a(3n + 1) = a(3(n + 1)).
a(3n - 2) + a(3n + 1) = a(3n + 2).
a(3n) + a(3n - 1) + a(3(n - 2)) = a(3n + 1).
a(3n - 1)a(3n) + a(3n + 2)a(3(n + 1)) = a(6n + 2).
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*(2*x^4-x^3+x^2+1) / (x^6+2*x^3-1). - Colin Barker, Nov 02 2014
EXAMPLE
M^0 = the 3 X 3 identity matrix = [[1,0,0][0,1,0][0,0,1]]. M[3,1] = 0; M[1,1] = 1; M[1,3] = 0. So the first triple is r = a(0) = 0; s = a(1) = 1; t = a(2) = 0.
M^1 = [[1,4,4][1,3,2][1,2,1], so r = a(3) = 1; s = a(4) = 1; t = a(5) = 2.
MATHEMATICA
LinearRecurrence[{0, 0, 2, 0, 0, 1}, {0, 1, 0, 1, 1, 2}, 60] (* Harvey P. Dale, Dec 29 2021 *)
PROG
(PARI) concat(0, Vec(-x*(2*x^4-x^3+x^2+1)/(x^6+2*x^3-1) + O(x^100))) \\ Colin Barker, Nov 02 2014
CROSSREFS
KEYWORD
nonn,tabf,easy
AUTHOR
Russell Walsmith, Nov 01 2014
STATUS
approved