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.

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

This page as a plain text file.
%I A024054 #18 Sep 08 2022 08:44:48
%S A024054 1,4,-7,-118,-399,0,7849,61318,357857,1894076,9665625,48667074,
%T A024054 243891793,1220331832,6102977801,30516818750,152586842049,
%U A024054 762938033268,3814695376057,19073483852026,95367428440625
%N A024054 a(n) = 5^n - n^5.
%H A024054 Vincenzo Librandi, <a href="/A024054/b024054.txt">Table of n, a(n) for n = 0..200</a>
%H A024054 <a href="/index/Rec#order_07">Index entries for linear recurrences with constant coefficients</a>, signature (11, -45, 95, -115, 81, -31, 5).
%F A024054 G.f.: (-6*x^6 - 123*x^5 - 319*x^4 - 44*x^3 + 6*x^2 + 7*x - 1)/((x - 1)^6*(5*x - 1)). - _Harvey P. Dale_, Oct 15 2014
%F A024054 a(0)=1, a(1)=4, a(2)=-7, a(3)=-118, a(4)=-399, a(5)=0, a(6)=7849, a(n) = 11*a(n-1) - 45*a(n-2) + 95*a(n-3) - 115*a(n-4) + 81*a(n-5) - 31*a(n-6) + 5*a(n-7). - _Harvey P. Dale_, Oct 15 2014
%t A024054 lst={}; Do[AppendTo[lst,5^n-n^5],{n,0,5!}]; lst (* _Vladimir Joseph Stephan Orlovsky_, Jan 15 2009 *)
%t A024054 Table[5^n-n^5,{n,0,20}] (* or *) LinearRecurrence[{11,-45,95,-115,81,-31,5},{1,4,-7,-118,-399,0,7849},30] (* _Harvey P. Dale_, Oct 15 2014 *)
%o A024054 (Magma) [5^n-n^5: n in [0..30]]; // _Vincenzo Librandi_, May 14 2011
%o A024054 (PARI) a(n)=5^n-n^5 \\ _Charles R Greathouse IV_, Oct 07 2015
%Y A024054 Cf. A024012, A024026, A058794, A024040. - _Vladimir Joseph Stephan Orlovsky_, Jan 15 2009
%K A024054 sign,easy
%O A024054 0,2
%A A024054 _N. J. A. Sloane_