OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (10,-17,8).
FORMULA
a(n) = 10*a(n-1) - 17*a(n-2) + 8*a(n-3) for n > 2.
G.f.: (1 - 10*x + 65*x^2)/((1 - 8*x)*(1 -x)^2). - Vincenzo Librandi, Jan 04 2013
E.g.f.: exp(x)*(exp(7*x) - 8*x). - Elmo R. Oliveira, Sep 10 2024
MATHEMATICA
CoefficientList[Series[(1 - 10*x + 65*x^2)/((1 - 8*x)*(1 -x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jan 04 2013 *)
LinearRecurrence[{10, -17, 8}, {1, 0, 48}, 30] (* Harvey P. Dale, Mar 13 2023 *)
PROG
(Magma) [8^n-8*n: n in [0..25]];
(PARI) a(n)=8^n-8*n \\ Charles R Greathouse IV, Jul 06 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 26 2011
STATUS
approved