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.

A024107 a(n) = 9^n - n^6.

This page as a plain text file.
%I A024107 #16 Sep 08 2022 08:44:48
%S A024107 1,8,17,0,2465,43424,484785,4665320,42784577,386889048,3485784401,
%T A024107 31379288048,282426550497,2541861001520,22876784925425,
%U A024107 205891120704024,1853020172074625,16677181675529000,150094635262986897
%N A024107 a(n) = 9^n - n^6.
%H A024107 Vincenzo Librandi, <a href="/A024107/b024107.txt">Table of n, a(n) for n = 0..400</a>
%H A024107 <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (16, -84, 224, -350, 336, -196, 64, -9).
%F A024107 a(n) = 16*a(n-1) - 84*a(n-2) + 224*a(n-3) - 350*a(n-4) + 336*a(n-5) - 196*a(n-6) + 64*a(n-7) - 9*a(n-8); a(0)=1, a(1)=8, a(2)=17, a(3)=0, a(4)=2465, a(5)=43424, a(6)=484785, a(7)=4665320. - _Harvey P. Dale_, Oct 15 2012
%t A024107 Table[9^n-n^6,{n,0,20}] (* or *) LinearRecurrence[ {16,-84,224,-350,336,-196,64,-9},{1,8,17,0,2465,43424,484785,4665320},20] (* _Harvey P. Dale_, Oct 15 2012 *)
%o A024107 (Magma) [9^n-n^6: n in [0..25]]; // _Vincenzo Librandi_, Jul 06 2011
%o A024107 (PARI) a(n) = 9^n-n^6; \\ _Altug Alkan_, Oct 08 2018
%K A024107 nonn,easy
%O A024107 0,2
%A A024107 _N. J. A. Sloane_