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.

A024064 a(n) = 6^n - n^2.

This page as a plain text file.
%I A024064 #14 Sep 08 2022 08:44:48
%S A024064 1,5,32,207,1280,7751,46620,279887,1679552,10077615,60466076,
%T A024064 362796935,2176782192,13060693847,78364163900,470184984351,
%U A024064 2821109907200,16926659444447,101559956668092,609359740010135
%N A024064 a(n) = 6^n - n^2.
%H A024064 Vincenzo Librandi, <a href="/A024064/b024064.txt">Table of n, a(n) for n = 0..500</a>
%H A024064 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (9, -21, 19, -6).
%F A024064 a(0)=1, a(1)=5, a(2)=32, a(3)=207, a(n)=9*a(n-1)-21*a(n-2)+19*a(n-3)- 6*a(n-4). - _Harvey P. Dale_, Mar 26 2014
%F A024064 G.f.: (5*x^3+8*x^2-4*x+1)/((x-1)^3*(6*x-1)). - _Harvey P. Dale_, Mar 26 2014
%t A024064 Table[6^n-n^2,{n,0,20}] (* or *) LinearRecurrence[{9,-21,19,-6},{1,5,32,207},20] (* _Harvey P. Dale_, Mar 26 2014 *)
%o A024064 (Magma) [6^n-n^2: n in [0..25]]; // _Vincenzo Librandi_, Jul 03 2011
%K A024064 nonn,easy
%O A024064 0,2
%A A024064 _N. J. A. Sloane_