OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..388
FORMULA
MATHEMATICA
f[p_, e_] := p^(Ceiling[e/p]*p - e); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 30]
PROG
(PARI) a(n) = {my(f = factor(n)); prod(i = 1, #f~, f[i, 1]^(f[i, 1] * ceil(f[i, 2] / f[i, 1]) - f[i, 2])); }
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Amiram Eldar, Sep 14 2023
EXTENSIONS
Data, formulas and codes corrected by Amiram Eldar, Feb 15 2024
STATUS
approved