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 (28,-252,720).
FORMULA
a(n) = 22*a(n-1) - 120*a(n-2) + 6^n for n>1, a(0)=1, a(1)=28. - Vincenzo Librandi, Mar 11 2011
a(n) = (2*12^(n+2) - 3*10^(n+2) + 6^(n+2))/24. [Yahia Kahloune, Jun 30 2013]
MATHEMATICA
CoefficientList[Series[1/((1-6x)(1-10x)(1-12x)), {x, 0, 20}], x] (* or *) LinearRecurrence[ {28, -252, 720}, {1, 28, 532}, 20] (* Harvey P. Dale, Aug 20 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved