OFFSET
0,1
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.: ( 216 + 1333*x + 508*x^2 + x^3 ) / (x-1)^4. - R. J. Mathar, Aug 01 2014
MATHEMATICA
(7*Range[0, 30]+6)^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {216, 2197, 8000, 19683}, 30] (* Harvey P. Dale, Mar 06 2019 *)
PROG
(Magma) [(7*n+6)^3: n in [0..40]]; // Vincenzo Librandi, Jul 10 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved