login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024120 a(n) = 10^n - n^6. 2
1, 9, 36, 271, 5904, 84375, 953344, 9882351, 99737856, 999468559, 9999000000, 99998228439, 999997014016, 9999995173191, 99999992470464, 999999988609375, 9999999983222784, 99999999975862431, 999999999965987776 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..300

Index entries for linear recurrences with constant coefficients, signature (17,-91,245,-385,371,-217,71,-10)

FORMULA

G.f.: ( 1 - 8*x - 26*x^2 + 233*x^3 + 2753*x^4 + 2942*x^5 + 576*x^6 + 9*x^7 ) / ( (10*x-1)*(x-1)^7 ). - R. J. Mathar, Jun 30 2011

MATHEMATICA

Table[10^n-n^6, {n, 0, 30}] (* or *) LinearRecurrence[ {17, -91, 245, -385, 371, -217, 71, -10}, {1, 9, 36, 271, 5904, 84375, 953344, 9882351}, 30] (* Harvey P. Dale, Oct 09 2012 *)

PROG

(MAGMA) [10^n-n^6: n in [0..20]]; // Vincenzo Librandi, Jun 30 2011

(PARI) a(n) = 10^n-n^6; \\ Altug Alkan, Oct 04 2018

CROSSREFS

Cf. A001014 (n^6), A011557 (10^n).

Sequence in context: A036907 A027381 A335783 * A262782 A204513 A223306

Adjacent sequences:  A024117 A024118 A024119 * A024121 A024122 A024123

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 28 17:31 EDT 2022. Contains 354907 sequences. (Running on oeis4.)