OFFSET
1,2
EXAMPLE
a(12) = 12^5 = 248832 since 12! = 479001600 = 2^10*3^5*5^2*7*11 and 12 = 2^2*3.
MATHEMATICA
Join[{1}, Table[n^IntegerExponent[n!, n], {n, 2, 40}]] (* Harvey P. Dale, May 06 2018 *)
PROG
(PARI) a(n) = if (n==1, 1, n^valuation(n!, n)); \\ Michel Marcus, Mar 23 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Feb 19 2001
STATUS
approved