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!)
A024031 a(n) = 3^n - n^8. 2
1, 2, -247, -6534, -65455, -390382, -1678887, -5762614, -16770655, -43027038, -99940951, -214181734, -429450255, -814136398, -1471006087, -2548541718, -4251920575, -6846617278, -10632540087, -15821301574, -22113215599 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

Index entries for linear recurrences with constant coefficients, signature (12, -63, 192, -378, 504, -462, 288, -117, 28, -3).

FORMULA

a(n) = 12*a(n-1) - 63*a(n-2) + 192*a(n-3) - 378*a(n-4) + 504*a(n-5) - 462*a(n-6) + 288*a(n-7) - 117*a(n-8) + 28*a(n-9) - 3*a(n-10); a(0)=1, a(1)=2, a(2)=-247, a(3)=-6534, a(4)=-65455, a(5)=-390382, a(6)=-1678887, a(7)=-5762614, a(8)=-16770655, a(9)=-43027038. - Harvey P. Dale, Sep 25 2014

MATHEMATICA

Table[3^n-n^8, {n, 0, 30}] (* or *) LinearRecurrence[{12, -63, 192, -378, 504, -462, 288, -117, 28, -3}, {1, 2, -247, -6534, -65455, -390382, -1678887, -5762614, -16770655, -43027038}, 30] (* Harvey P. Dale, Sep 25 2014 *)

PROG

(MAGMA) [3^n-n^8: n in [0..35]]; // Vincenzo Librandi, May 13 2011

CROSSREFS

Sequence in context: A259141 A065664 A244926 * A099685 A027653 A024349

Adjacent sequences:  A024028 A024029 A024030 * A024032 A024033 A024034

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 August 3 00:25 EDT 2021. Contains 346429 sequences. (Running on oeis4.)