OFFSET
1,2
FORMULA
a(p) = 2p for p = odd primes (A065091).
EXAMPLE
a(6) = lcm(tau(1), pod(1)) * lcm(tau(2), pod(2)) * lcm(tau(3), pod(3)) * lcm(tau(6), pod(6)) = lcm(1, 1) * lcm(2, 2) * lcm(2, 3) * lcm(4, 36) = 1 * 2 * 6 * 36 = 432.
MATHEMATICA
a[n_] := Product[LCM[DivisorSigma[0, d], Times @@ Divisors[d]], {d, Divisors[n]}]; Array[a, 35] (* Amiram Eldar, Jun 27 2020 *)
PROG
(Magma) [&*[LCM(#Divisors(d), &*Divisors(d)): d in Divisors(n)]: n in [1..100]]
(PARI) a(n) = my(d=divisors(n)); prod(k=1, #d, lcm(numdiv(d[k]), vecprod(divisors(d[k])))); \\ Michel Marcus, Jun 27 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Jun 26 2020
STATUS
approved