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 A024143 #21 Jun 15 2025 13:41:47 %S A024143 1,11,136,1701,20672,248707,2985768,35831465,429981184,5159779623, %T A024143 61917363224,743008369357,8916100446528,106993205376875, %U A024143 1283918464546120,15407021574582993,184884258895032320,2218611106740432079,26623333280885238072,319479999370622919989 %N A024143 a(n) = 12^n - n^3. %H A024143 Vincenzo Librandi, <a href="/A024143/b024143.txt">Table of n, a(n) for n = 0..300</a> %H A024143 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (16,-54,76,-49,12). %F A024143 From _Colin Barker_, Oct 11 2018: (Start) %F A024143 G.f.: (1 - 5*x + 14*x^2 + 43*x^3 + 13*x^4) / ((1 - x)^4*(1 - 12*x)). %F A024143 a(n) = 16*a(n-1) - 54*a(n-2) + 76*a(n-3) - 49*a(n-4) + 12*a(n-5) for n>4. %F A024143 (End) %t A024143 LinearRecurrence[{16,-54,76,-49,12},{1,11,136,1701,20672},20] (* _Harvey P. Dale_, Jun 15 2025 *) %o A024143 (Magma) [12^n-n^3: n in [0..20]]; // _Vincenzo Librandi_, Jul 01 2011 %o A024143 (PARI) a(n)=12^n-n^3 \\ _Charles R Greathouse IV_, Jul 01 2011 %o A024143 (PARI) Vec((1 - 5*x + 14*x^2 + 43*x^3 + 13*x^4) / ((1 - x)^4*(1 - 12*x)) + O(x^20)) \\ _Colin Barker_, Oct 11 2018 %K A024143 nonn,easy %O A024143 0,2 %A A024143 _N. J. A. Sloane_