OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..400
Index entries for linear recurrences with constant coefficients, signature (15,-69,155,-195,141,-55,9).
FORMULA
G.f.: -(10*x^6+227*x^5+583*x^4+148*x^3-2*x^2-7*x+1) / ((x-1)^6*(9*x-1)). - Colin Barker, Jan 25 2015
MATHEMATICA
Table[9^n-n^5, {n, 0, 20}] (* or *) LinearRecurrence[{15, -69, 155, -195, 141, -55, 9}, {1, 8, 49, 486, 5537, 55924, 523665}, 20] (* Harvey P. Dale, Sep 11 2019 *)
PROG
(Magma) [9^n-n^5: n in [0..25]]; // Vincenzo Librandi, Jul 06 2011
(PARI) Vec(-(10*x^6+227*x^5+583*x^4+148*x^3-2*x^2-7*x+1)/((x-1)^6*(9*x-1)) + O(x^100)) \\ Colin Barker, Jan 25 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved