cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A024015 2^n-n^5.

This page as a plain text file.
%I A024015 #24 Jul 08 2025 17:25:59
%S A024015 1,1,-28,-235,-1008,-3093,-7712,-16679,-32512,-58537,-98976,-159003,
%T A024015 -244736,-363101,-521440,-726607,-983040,-1288785,-1627424,-1951811,
%U A024015 -2151424,-1986949,-959328,1952265,8814592,23788807,55227488,119868821,251225088
%N A024015 2^n-n^5.
%H A024015 Vincenzo Librandi, <a href="/A024015/b024015.txt">Table of n, a(n) for n = 0..230</a>
%H A024015 <a href="/index/Rec#order_07">Index entries for linear recurrences with constant coefficients</a>, signature (8,-27,50,-55,36,-13,2).
%F A024015 G:f.: (1-7*x-9*x^2-34*x^3+121*x^4+45*x^5+3*x^6) / ((1-2*x)*(1-x)^6). - _Vincenzo Librandi_, Oct 07 2014
%F A024015 a(n) = 8*a(n-1) -27*a(n-2) +50*a(n-3) -55*a(n-4) +36*a(n-5) -13*a(n-6) +2*a(n-7) for n>6. - _Vincenzo Librandi_, Oct 07 2014
%t A024015 Table[2^n - n^5, {n, 0, 30}] (* or *) CoefficientList[Series[(1 - 7 x - 9 x^2 - 34 x^3 + 121 x^4 + 45 x^5 + 3 x^6)/((1 - 2 x) (1 - x)^6), {x, 0, 30}], x] (* _Vincenzo Librandi_, Oct 07 2014 *)
%t A024015 LinearRecurrence[{8,-27,50,-55,36,-13,2},{1,1,-28,-235,-1008,-3093,-7712},30] (* _Harvey P. Dale_, May 14 2016 *)
%o A024015 (Magma) [2^n-n^5: n in [0..35]]; // _Vincenzo Librandi_, Apr 29 2011
%o A024015 (Magma) I:=[1,1,-28,-235,-1008,-3093,-7712]; [n le 7 select I[n] else 8*Self(n-1)-27*Self(n-2)+50*Self(n-3)-55*Self(n-4)+36*Self(n-5)-13*Self(n-6)+2*Self(n-7): n in [1..35]]; // _Vincenzo Librandi_, Oct 07 2014
%Y A024015 Cf. sequences of the form k^n-n^5: this sequence (k=2), A024028 (k=3), A024041 (k=4), A024054 (k=5), A024067 (k=6), A024080 (k=7), A024093 (k=8), A024106 (k=9), A024119 (k=10), A024132 (k=11), A024145 (k=12).
%K A024015 sign,easy
%O A024015 0,3
%A A024015 _N. J. A. Sloane_