Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #19 Sep 08 2022 08:44:48
%S 1,9,-412,-18683,-252144,-1853125,-9077696,-30353607,-34217728,
%T 612579511,9000000000,97642052309,994840219648,9989395500627,
%U 99979338953216,999961556640625,9999931280523264,99999881412123503
%N a(n) = 10^n - n^9.
%H Vincenzo Librandi, <a href="/A024123/b024123.txt">Table of n, a(n) for n = 0..300</a>
%H <a href="/index/Rec#order_11">Index entries for linear recurrences with constant coefficients</a>, signature (20,-145,570,-1410,2352,-2730,2220,-1245,460,-101,10).
%t 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 *)
%o (Magma) [10^n-n^9: n in [0..20]]; // _Vincenzo Librandi_, Jul 01 2011
%o (PARI) a(n)=10^n-n^9 \\ _Charles R Greathouse IV_, Jul 01 2011
%K sign,easy
%O 0,2
%A _N. J. A. Sloane_