OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (16,-75,170,-215,156,-61,10).
FORMULA
G.f.: ( -1 + 7*x + x^2 - 174*x^3 - 649*x^4 - 253*x^5 - 11*x^6 ) / ( (10*x-1)*(x-1)^6 ). - R. J. Mathar, Jun 30 2011
MATHEMATICA
Table[10^n-n^5, {n, 0, 20}] (* or *) LinearRecurrence[ {16, -75, 170, -215, 156, -61, 10}, {1, 9, 68, 757, 8976, 96875, 992224}, 20] (* Harvey P. Dale, Oct 08 2012 *)
PROG
(Magma) [10^n-n^5: n in [0..20]]; // Vincenzo Librandi, Jun 30 2011
(PARI) a(n) = 10^n-n^5; \\ Altug Alkan, Oct 04 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved