login
a(n) = n! - n^5.
5

%I #13 Aug 08 2023 14:10:19

%S 1,0,-30,-237,-1000,-3005,-7056,-11767,7552,303831,3528800,39755749,

%T 478752768,6226649507,87177753376,1307673608625,20922788839424,

%U 355687426676143,6402373703838432,121645100406355901,2432902008173440000

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

%H Vincenzo Librandi, <a href="/A196412/b196412.txt">Table of n, a(n) for n = 0..400</a>

%t Table[n!-n^5,{n,0,20}] (* _Harvey P. Dale_, Nov 03 2015 *)

%o (Magma) [Factorial(n)-n^5: n in [0..20]]

%o (PARI) a(n)=n!-n^5 \\ _Charles R Greathouse IV_, Nov 21 2011

%Y Cf. A005008, A005096, A007339, A144768, A196411.

%K sign,easy,less

%O 0,3

%A _Vincenzo Librandi_, Oct 06 2011