OFFSET
0,1
COMMENTS
The equation (k!)^n + k^n = (n!)^k + n^k holds if and only if n = k. See the Proof of the Theorem 2.2 (p.182-183) in the Alzer and Luca article in Links section.
LINKS
Horst Alzer and Florian Luca, Diophantine equations involving factorials, Mathematica Bohemica 142.2 (2017), 181-184.
EXAMPLE
n = 3: a(3) = (3!)^3 + 3^3 = 243.
MAPLE
seq((n!)^n + n^n, n=0..12); # Georg Fischer, Dec 30 2024
MATHEMATICA
a[n_]:=(n!)^n + n^n; Array[a, 12, 0] (* Stefano Spezia, Dec 26 2024 *)
CROSSREFS
KEYWORD
nonn,easy,new
AUTHOR
Ctibor O. Zizka, Dec 26 2024
EXTENSIONS
a(9)-a(11) corrected by Georg Fischer, Dec 30 2024
STATUS
approved