OFFSET
1,2
COMMENTS
a(n) is also lcm(n, tau(n), sigma(n), pod(n)) / gcd(tau(n), sigma(n), pod(n)).
FORMULA
EXAMPLE
a(6) = lcm(tau(6), sigma(6), pod(6)) / gcd(tau(6), sigma(6), pod(6)) = lcm(4, 12, 36) / gcd(4, 12, 36) = 36 / 4 = 9.
MATHEMATICA
a[n_] := LCM @@ (t = {(d = DivisorSigma[0, n]), n^(d/2), DivisorSigma[1, n]}) / GCD @@ t; Array[a, 50] (* Amiram Eldar, Aug 31 2020 *)
PROG
(Magma) [LCM([#Divisors(n), &+Divisors(n), &*Divisors(n)]) / GCD([#Divisors(n), &+Divisors(n), &*Divisors(n)]): n in [1..100]];
(PARI) a(n) = my(f=factor(n), v=[numdiv(f), sigma(f), vecprod(divisors(f))]); lcm(v)/gcd(v); \\ Michel Marcus, Aug 31 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Aug 31 2020
STATUS
approved