OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..925
Index entries for linear recurrences with constant coefficients, signature (27,-234,648).
FORMULA
a(n) = (12^(n+2) - 2*9^(n+2) + 6^(n+2))/18. - Yahia Kahloune, Jun 30 2013
a(n) = 27*a(n-1) - 234*a(n-2) + 648*a(n-3). - Jinyuan Wang, Mar 10 2020
MATHEMATICA
CoefficientList[Series[1/((1-6x)(1-9x)(1-12x)), {x, 0, 20}], x] (* or *) LinearRecurrence[{27, -234, 648}, {1, 27, 495}, 20] (* Harvey P. Dale, Feb 18 2025 *)
PROG
(PARI) Vec(1/((1-6*x)*(1-9*x)*(1-12*x)) + O(x^30)) \\ Jinyuan Wang, Mar 10 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
