OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (20,-145,570,-1410,2352,-2730,2220,-1245,460,-101,10).
MATHEMATICA
Table[10^n-n^9, {n, 0, 30}] (* or *) LinearRecurrence[ {20, -145, 570, -1410, 2352, -2730, 2220, -1245, 460, -101, 10}, {1, 9, -412, -18683, -252144, -1853125, -9077696, -30353607, -34217728, 612579511, 9000000000}, 30] (* Harvey P. Dale, Feb 06 2014 *)
PROG
(Magma) [10^n-n^9: n in [0..20]]; // Vincenzo Librandi, Jul 01 2011
(PARI) a(n)=10^n-n^9 \\ Charles R Greathouse IV, Jul 01 2011
CROSSREFS
KEYWORD
sign,easy
AUTHOR
STATUS
approved