OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (10,-18,8).
FORMULA
a(n) = 10*a(n-1) - 18*a(n-2) + 8*a(n-3); a(0)=1, a(1)=9, a(2)=72. - Harvey P. Dale, Mar 12 2013
MATHEMATICA
CoefficientList[Series[(1-x)/(1-10x+18x^2-8x^3), {x, 0, 30}], x] (* Harvey P. Dale, Mar 12 2013 *)
(* Alternative: *)
LinearRecurrence[{10, -18, 8}, {1, 9, 72}, 30] (* Harvey P. Dale, Mar 12 2013 *)
PROG
(PARI) Vec((1-x)/(1 - 10*x + 18*x^2 - 8*x^3) + O(x^20)) \\ Stefano Spezia, Sep 01 2025
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
STATUS
approved
