%I #15 Sep 08 2022 08:44:48
%S 1,5,28,189,1232,7651,46440,279593,1679104,10076967,60465176,
%T 362795725,2176780608,13060691819,78364161352,470184981201,
%U 2821109903360,16926659439823,101559956662584,609359740003637
%N a(n) = 6^n - n^3.
%H Vincenzo Librandi, <a href="/A024065/b024065.txt">Table of n, a(n) for n = 0..500</a>
%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (10,-30,40,-25,6).
%F G.f.: (-1 - 7*x^4 - 19*x^3 - 8*x^2 + 5*x)/((6*x-1)*(x-1)^4). - Maksym Voznyy (voznyy(AT)mail.ru), Jul 26 2009
%t Table[6^n-n^3,{n,0,20}] (* _Harvey P. Dale_, Jun 15 2019 *)
%o (Magma) [6^n-n^3: n in [0..25]]; // _Vincenzo Librandi_, Jul 03 2011
%K nonn,easy
%O 0,2
%A _N. J. A. Sloane_