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

A024119
a(n) = 10^n - n^5.
2
1, 9, 68, 757, 8976, 96875, 992224, 9983193, 99967232, 999940951, 9999900000, 99999838949, 999999751168, 9999999628707, 99999999462176, 999999999240625, 9999999998951424, 99999999998580143, 999999999998110432
OFFSET
0,2
LINKS
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
Sequence in context: A121633 A091708 A327560 * A348590 A120306 A197425
KEYWORD
nonn,easy
STATUS
approved