login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024028 a(n) = 3^n - n^5. 3
1, 2, -23, -216, -943, -2882, -7047, -14620, -26207, -39366, -40951, 16096, 282609, 1223030, 4245145, 13589532, 41998145, 127720306, 385530921, 1159785368, 3483584401 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

FORMULA

a(n) = 3^n - n^5.

From Chai Wah Wu, Jul 10 2016: (Start)

a(n) = 9*a(n-1) - 33*a(n-2) + 65*a(n-3) - 75*a(n-4) + 51*a(n-5) - 19*a(n-6) + 3*a(n-7) for n > 6.

G.f.: (-4*x^6 - 71*x^5 - 187*x^4 + 8*x^3 + 8*x^2 + 7*x - 1)/((x - 1)^6*(3*x - 1)). (End)

PROG

(MAGMA) [3^n-n^5 : n in [0..30]]; // Vincenzo Librandi, May 17 2011

CROSSREFS

Cf. A000244 (3^n), A000584 (n^5).

Sequence in context: A133955 A062600 A069590 * A288820 A242904 A068167

Adjacent sequences:  A024025 A024026 A024027 * A024029 A024030 A024031

KEYWORD

sign

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 February 29 08:26 EST 2020. Contains 332355 sequences. (Running on oeis4.)