login

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”).

a(n) = 10^n - n^5.
2

%I #20 Sep 08 2022 08:44:48

%S 1,9,68,757,8976,96875,992224,9983193,99967232,999940951,9999900000,

%T 99999838949,999999751168,9999999628707,99999999462176,

%U 999999999240625,9999999998951424,99999999998580143,999999999998110432

%N a(n) = 10^n - n^5.

%H Vincenzo Librandi, <a href="/A024119/b024119.txt">Table of n, a(n) for n = 0..300</a>

%H <a href="/index/Rec#order_07">Index entries for linear recurrences with constant coefficients</a>, signature (16,-75,170,-215,156,-61,10).

%F 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

%t 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 *)

%o (Magma) [10^n-n^5: n in [0..20]]; // _Vincenzo Librandi_, Jun 30 2011

%o (PARI) a(n) = 10^n-n^5; \\ _Altug Alkan_, Oct 04 2018

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_