OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: 729*x*(1 + 4*x + x^2) / (x-1)^4. - R. J. Mathar, Jul 17 2014
MATHEMATICA
(9*Range[0, 30])^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {0, 729, 5832, 19683}, 30] (* Harvey P. Dale, Sep 09 2019 *)
PROG
(Magma) [(9*n)^3: n in [0..35]]; // Vincenzo Librandi, Jul 22 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved