cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A122222 Difference between (n!)^n and the next smaller factorial.

This page as a plain text file.
%I A122222 #6 Oct 27 2024 03:13:12
%S A122222 2,96,291456,18656179200,17668969095168000,67095201210572537856000000,
%T A122222 6721833410207820593461922365440000000,
%U A122222 75658161802407509372174837302453333917696000000000,365526772920711815200262962616603688918661180831039488000000000000
%N A122222 Difference between (n!)^n and the next smaller factorial.
%e A122222 a(3)=96 because the difference between (3!)^3=216 and the next smaller factorial 5!=120 is 96.
%t A122222 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 *)
%Y A122222 Cf. A036740, A121348, A122221.
%K A122222 nonn
%O A122222 2,1
%A A122222 _Hugo Pfoertner_, Sep 25 2006
%E A122222 a(10) from _James C. McMahon_, Oct 26 2024