OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f. 27*(27+235*x+121*x^2+x^3)/(x-1)^4. a(n) = 27*A016839(n). - R. J. Mathar, Dec 03 2015
MATHEMATICA
(12*Range[0, 30]+9)^3 (* or *) LinearRecurrence[{4, -6, 4, -1}, {729, 9261, 35937, 91125}, 30] (* Harvey P. Dale, Apr 06 2016 *)
PROG
(PARI) a(n) = (12*n+9)^3; \\ Altug Alkan, Dec 03 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved