OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (18, -83, 66).
FORMULA
a(0)=1, a(1)=18, a(n)=17*a(n-1)-66*a(n-2)+1. - Vincenzo Librandi, Feb 10 2011
a(0)=1, a(1)=18, a(2)=241, a(n)=18*a(n-1)-83*a(n-2)+66*a(n-3). - Harvey P. Dale, Sep 23 2012
a(n) = (11^(n+2) - 2*6^(n+2) + 1)/50. [Yahia Kahloune, Aug 13 2013]
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-6x)(1-11x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{18, -83, 66}, {1, 18, 241}, 30] (* Harvey P. Dale, Sep 23 2012 *)
PROG
(PARI) a(n) = (11^(n+2) - 2*6^(n+2) + 1)/50; \\ Joerg Arndt, Aug 13 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved