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!)
A024018 2^n-n^8. 2
1, 1, -252, -6553, -65520, -390593, -1679552, -5764673, -16776960, -43046209, -99998976, -214356833, -429977600, -815722529, -1475772672, -2562857857, -4294901760, -6975626369, -11019698432, -16983038753, -25598951424 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (11,-54,156,-294,378,-336,204,-81,19,-2).
FORMULA
G.f.: (1 -10*x -209*x^2 -3883*x^3 -6907*x^4 +15493*x^5 +27029*x^6 +8303*x^7 +502*x^8 +x^9) / ((1-2*x)*(1-x)^9). - Vincenzo Librandi, Oct 08 2014
a(n) = 11*a(n-1) -54*a(n-2) +156*a(n-3) -294*a(n-4) +378*a(n-5) -336*a(n-6)+204*a(n-7) -81*a(n-8) +19*a(n-9) -2*a(n-10) for n>9. - Vincenzo Librandi, Oct 08 2014
MATHEMATICA
Table[2^n - n^8, {n, 0, 30}] (* or *) CoefficientList[Series[(1 - 10 x - 209 x^2 - 3883 x^3 - 6907 x^4 + 15493 x^5 + 27029 x^6 + 8303 x^7 + 502 x^8 + x^9)/((1 - 2 x) (1 - x)^9), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 08 2014 *)
PROG
(Magma) [2^n-n^8: n in [0..25]]; // Vincenzo Librandi, Apr 30 2011
(Magma) I:=[1, 1, -252, -6553, -65520, -390593, -1679552, -5764673, -16776960, -43046209]; [n le 10 select I[n] else 11*Self(n-1)-54*Self(n-2) +156*Self(n-3)-294*Self(n-4)+378*Self(n-5)-336*Self(n-6)+204*Self(n-7) -81*Self(n-8)+19*Self(n-9)-2*Self(n-10): n in [1..35]]; // Vincenzo Librandi, Oct 08 2014
CROSSREFS
Cf. sequences of the form k^n-n^8: this sequence (k=2), A024031 (k=3), A024044 (k=4), A024057 (k=5), A024070 (k=6), A024083 (k=7), A024096 (k=8), A024109 (k=9), A024122 (k=10), A024135 (k=11), A024148 (k=12).
Sequence in context: A099059 A151610 A250085 * A270853 A177301 A250376
KEYWORD
sign,easy
AUTHOR
STATUS
approved

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 March 28 16:58 EDT 2024. Contains 371254 sequences. (Running on oeis4.)