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.

A024052 a(n) = 5^n - n^3.

This page as a plain text file.
%I A024052 #15 Apr 02 2025 17:34:35
%S A024052 1,4,17,98,561,3000,15409,77782,390113,1952396,9764625,48826794,
%T A024052 244138897,1220700928,6103512881,30517574750,152587886529,
%U A024052 762939448212,3814697259793,19073486321266,95367431632625
%N A024052 a(n) = 5^n - n^3.
%H A024052 Vincenzo Librandi, <a href="/A024052/b024052.txt">Table of n, a(n) for n = 0..300</a>
%H A024052 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (9,-26,34,-21,5).
%F A024052 G.f.: (1 - 5*x + 7*x^2 + 15*x^3 + 6*x^4)/((1-5*x)*(1-x)^4). - Maksym Voznyy (voznyy(AT)mail.ru), Aug 13 2009
%F A024052 a(n) = 9*a(n-1) - 26*a(n-2) + 34*a(n-3) - 21*a(n-4) + 5*a(n-5).
%t A024052 LinearRecurrence[{9,-26,34,-21,5},{1,4,17,98,561},30] (* _Harvey P. Dale_, Apr 02 2025 *)
%o A024052 (Magma) [5^n-n^3: n in [0..35]]; // _Vincenzo Librandi_, Jun 12 2011
%K A024052 nonn,easy
%O A024052 0,2
%A A024052 _N. J. A. Sloane_