OFFSET
0,2
COMMENTS
This can be generated by multiplying the sum of the elements in the top row of the n-th power of the matrix [(0,3,0), (0,0,3),(3,1/27,0)] by 3^n.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,729).
FORMULA
a(n)=a(n-2)+729*a(n-3). [From R. J. Mathar, Mar 26 2009]
MATHEMATICA
Clear[M, v, t, n];
M = {{0, t, 0}, {0, 0, t}, {t, 1/t^3, 0}};
v[0] = {1, 1, 1};
v[n_] := v[n] = M.v[n - 1];
CharacteristicPolynomial[M, x];
t = 3;
a = Table[t^n*v[n][[1]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Mar 25 2009
STATUS
approved