login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024055 a(n) = 5^n - n^6. 2
1, 4, -39, -604, -3471, -12500, -31031, -39524, 128481, 1421684, 8765625, 47056564, 241154641, 1215876316, 6095986089, 30506187500, 152571113409, 762915315556, 3814663253401, 19073439282244, 95367367640625 (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 (12, -56, 140, -210, 196, -112, 36, -5).

FORMULA

a(n) = 12*a(n-1) - 56*a(n-2) + 140*a(n-3) - 210*a(n-4) + 196*a(n-5) - 112*a(n-6) + 36*a(n-7) - 5*a(n-8), a(0)=1, a(1)=4, a(2)=-39, a(3)=-604, a(4)=-3471, a(5)=-12500, a(6)=-31031, a(7)=-39524. - Harvey P. Dale, Jul 21 2011

G.f.: (1 - 8*x - 31*x^2 - 52*x^3 + 1243*x^4 + 1432*x^5 + 291*x^6 + 4*x^7)/((1-5*x)*(1-x)^7). - Bruno Berselli, Jul 21 2011

MATHEMATICA

Table[5^n-n^6, {n, 0, 60}] (* Vladimir Joseph Stephan Orlovsky, Feb 15 2011 *)

LinearRecurrence[{12, -56, 140, -210, 196, -112, 36, -5}, {1, 4, -39, -604, -3471, -12500, -31031, -39524}, 61] (* Harvey P. Dale, Jul 21 2011 *)

PROG

(MAGMA) [5^n-n^6: n in [0..30]]; // Vincenzo Librandi, Jul 03 2011

CROSSREFS

Sequence in context: A300188 A177775 A192935 * A189489 A178920 A066399

Adjacent sequences:  A024052 A024053 A024054 * A024056 A024057 A024058

KEYWORD

sign,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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 17 11:41 EDT 2019. Contains 328108 sequences. (Running on oeis4.)