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!)
A024031 a(n) = 3^n - n^8. 2

%I #14 Sep 08 2022 08:44:48

%S 1,2,-247,-6534,-65455,-390382,-1678887,-5762614,-16770655,-43027038,

%T -99940951,-214181734,-429450255,-814136398,-1471006087,-2548541718,

%U -4251920575,-6846617278,-10632540087,-15821301574,-22113215599

%N a(n) = 3^n - n^8.

%H Vincenzo Librandi, <a href="/A024031/b024031.txt">Table of n, a(n) for n = 0..200</a>

%H <a href="/index/Rec#order_10">Index entries for linear recurrences with constant coefficients</a>, signature (12, -63, 192, -378, 504, -462, 288, -117, 28, -3).

%F 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

%t 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 *)

%o (Magma) [3^n-n^8: n in [0..35]]; // _Vincenzo Librandi_, May 13 2011

%K sign

%O 0,2

%A _N. J. A. Sloane_

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 April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)