%I #10 Sep 08 2022 08:44:48
%S 1,5,20,135,1040,7151,45360,277535,1675520,10071135,60456176,
%T 362782415,2176761600,13060665455,78364125680,470184933951,
%U 2821109841920,16926659361215,101559956563440,609359739880175
%N a(n) = 6^n - n^4.
%H Vincenzo Librandi, <a href="/A024066/b024066.txt">Table of n, a(n) for n = 0..500</a>
%H <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (11, -40, 70, -65, 31, -6).
%t Table[6^n-n^4,{n,0,30}] (* or *) LinearRecurrence[{11,-40,70,-65,31,-6},{1,5,20,135,1040,7151},30] (* _Harvey P. Dale_, Apr 09 2018 *)
%o (Magma) [6^n-n^4: n in [0..25]]; // _Vincenzo Librandi_, Jul 03 2011
%K nonn,easy
%O 0,2
%A _N. J. A. Sloane_
|