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.
%I A024004 #31 Sep 08 2022 08:44:48 %S A024004 1,0,-63,-728,-4095,-15624,-46655,-117648,-262143,-531440,-999999, %T A024004 -1771560,-2985983,-4826808,-7529535,-11390624,-16777215,-24137568, %U A024004 -34012223,-47045880,-63999999,-85766120,-113379903,-148035888,-191102975,-244140624,-308915775,-387420488,-481890303 %N A024004 a(n) = 1 - n^6. %H A024004 Vincenzo Librandi, <a href="/A024004/b024004.txt">Table of n, a(n) for n = 0..500</a> %H A024004 <a href="/index/Rec#order_07">Index entries for linear recurrences with constant coefficients</a>, signature (7,-21,35,-35,21,-7,1). %F A024004 From _G. C. Greubel_, May 11 2017: (Start) %F A024004 G.f.: (1 - 7*x - 42*x^2 - 322*x^3 - 287*x^4 - 63*x^5)/(1 - x)^7. %F A024004 E.g.f.: (1 - x - 31*x^2 - 90*x^3 - 65*x^4 - 15*x^5 - x^6)*exp(x). (End) %F A024004 Sum_{k>=2} -1/a(k) = 11/12 - Pi*tanh(sqrt(3)*Pi/2)/(2*sqrt(3)) = A339529. - _Vaclav Kotesovec_, Dec 08 2020 %t A024004 Table[1-n^6,{n,0,40}] (* _Vladimir Joseph Stephan Orlovsky_, Apr 15 2011 *) %o A024004 (Magma) [1-n^6: n in [0..50]]; // _Vincenzo Librandi_, Apr 29 2011 %o A024004 (Maxima) A024004(n):=1-n^6 $ makelist(A024004(n),n,0,30); /* _Martin Ettl_, Nov 05 2012 */ %o A024004 (Haskell) %o A024004 a024004 = (1 -) . (^ 6) -- _Reinhard Zumkeller_, Mar 11 2014 %o A024004 (PARI) for(n=0,50, print1(1-n^6, ", ")) \\ _G. C. Greubel_, May 11 2017 %Y A024004 Cf. A001014. %Y A024004 a(n) = -A123866(n) for n > 0. %K A024004 sign,easy %O A024004 0,3 %A A024004 _N. J. A. Sloane_, corrected Mar 01 2007