login
a(n) = 5^n - n^4.
2

%I #12 Sep 08 2022 08:44:48

%S 1,4,9,44,369,2500,14329,75724,386529,1946564,9755625,48813484,

%T 244119889,1220674564,6103477209,30517527500,152587825089,

%U 762939369604,3814697160649,19073486197804,95367431480625

%N a(n) = 5^n - n^4.

%H Vincenzo Librandi, <a href="/A024053/b024053.txt">Table of n, a(n) for n = 0..300</a>

%H <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (10,-35,60,-55,26,-5).

%F a(n) = 10*a(n-1) - 35*a(n-2) + 60*a(n-3) - 55*a(n-4) + 26*a(n-5) - 5*a(n-6).

%o (Magma) [5^n-n^4: n in [0..35]]; // _Vincenzo Librandi_, Jun 12 2011

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_