OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (12,93,-576,-2592,5184,19440).
FORMULA
G.f.: -x^2*(19440*x^4+2160*x^3-2304*x^2-150*x+55) /((3*x+1)*(6*x-1)*(6*x+1)*(15*x-1)*(12*x^2-1)). [Colin Barker, Dec 06 2012]
MATHEMATICA
d = 6
M = Table[Mod[n + m, 6], {n, 0, d - 1}, {m, 0, d - 1}]
v = Table[n, {n, 0, d - 1}] {0, 1, 2, 3, 4, 5}
w[n_] := MatrixPower[M, n].v
a = Table[w[n][[1]], {n, 0, 20}]
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Roger L. Bagula and Gary W. Adamson, May 02 2008
EXTENSIONS
Meaningful name from Joerg Arndt, Dec 26 2022
STATUS
approved