login
A392143
a(n) = (n^(n - 1) - 1)^n.
0
0, 1, 512, 15752961, 94606929690624, 220903392825527587890625, 311954920641940794545461153939587072, 374142991911400415397080306521056997980469670707201, 507528679944764261210790982765425081637339300928309681979392000000000, 999999990000000044999999880000000209999999748000000209999999880000000044999999990000000001
OFFSET
1,3
COMMENTS
For n > 3, a(n) = (n^(n - 1) - 1)^n is a perfect power of exact order n (by Mihailescu's theorem).
For the number of stable digits of the tetration a(n)^^b (b > 0 integer), in the radix-n numeral system, see Identity (5) in "Universal +-1 congruence speed invariant in any numeral system" (in Links).
FORMULA
a(n) = (n^(n-1)-1)^n = (n^n-n)^n/n^n.
EXAMPLE
For n = 3, a(3) = (3^(3 - 1) - 1)^2 = (9 - 1)^3 = 512.
MATHEMATICA
Table[(n^(n-1)-1)^n, {n, 1, 9}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Marco Ripà, Jan 01 2026
STATUS
approved