OFFSET
0,3
REFERENCES
Turner, Zachary J., Bryson W. Finklea, and Terri Moore. "Combinatorial Approaches to Minimal Zero Sequences of Finite Abelian Groups, and a Surprising Connection." Preprint, Jan 09 2004.
LINKS
Colin Barker, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (121,-3630,32670,-88209,59049).
FORMULA
From Chai Wah Wu, Aug 09 2016: (Start)
a(n) = 121*a(n-1) - 3630*a(n-2) + 32670*a(n-3) - 88209*a(n-4) + 59049*a(n-5) for n > 4.
G.f.: x^2*(10692*x^2 - 684*x - 24)/((x - 1)*(3*x - 1)*(9*x - 1)*(27*x - 1)*(81*x - 1)). (End)
a(n) = (-36+5*3^(2+n)-5*9^n-5*27^n+81^n)/120. - Colin Barker, Aug 10 2016
MATHEMATICA
Table[With[{c=3^n}, ((c-1)(c-3)(c+3)(c-4))/120], {n, 0, 20}] (* or *) LinearRecurrence[ {121, -3630, 32670, -88209, 59049}, {0, 0, 24, 3588, 336336}, 20] (* Harvey P. Dale, Mar 09 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Aug 09 2016
STATUS
approved