A122222 Difference between (n!)^n and the next smaller factorial.
2, 96, 291456, 18656179200, 17668969095168000, 67095201210572537856000000, 6721833410207820593461922365440000000, 75658161802407509372174837302453333917696000000000, 365526772920711815200262962616603688918661180831039488000000000000
Offset: 2
Keywords
Examples
a(3)=96 because the difference between (3!)^3=216 and the next smaller factorial 5!=120 is 96.
Programs
-
Mathematica
s={};m=1;Do[Until[m!>(n!)^n,m++];AppendTo[s,(n!)^n-(m-1)!],{n,2,10}];s (* James C. McMahon, Oct 26 2024 *)
Extensions
a(10) from James C. McMahon, Oct 26 2024