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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024052 a(n) = 5^n - n^3. 2
1, 4, 17, 98, 561, 3000, 15409, 77782, 390113, 1952396, 9764625, 48826794, 244138897, 1220700928, 6103512881, 30517574750, 152587886529, 762939448212, 3814697259793, 19073486321266, 95367431632625 (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 (9,-26,34,-21,5).

FORMULA

G.f.: (1 - 5*x + 7*x^2 + 15*x^3 + 6*x^4)/((1-5*x)*(1-x)^4). - Maksym Voznyy (voznyy(AT)mail.ru), Aug 13 2009

a(n) = 9*a(n-1) - 26*a(n-2) + 34*a(n-3) - 21*a(n-4) + 5*a(n-5).

PROG

(MAGMA) [5^n-n^3: n in [0..35]]; // Vincenzo Librandi, Jun 12 2011

CROSSREFS

Sequence in context: A123750 A278644 A249078 * A128321 A290352 A091635

Adjacent sequences:  A024049 A024050 A024051 * A024053 A024054 A024055

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 07:11 EDT 2019. Contains 328336 sequences. (Running on oeis4.)